diff options
Diffstat (limited to 'meta/packages/icu/files/noldlibpath.patch')
-rw-r--r-- | meta/packages/icu/files/noldlibpath.patch | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/meta/packages/icu/files/noldlibpath.patch b/meta/packages/icu/files/noldlibpath.patch deleted file mode 100644 index eba3d805d4..0000000000 --- a/meta/packages/icu/files/noldlibpath.patch +++ /dev/null | |||
@@ -1,47 +0,0 @@ | |||
1 | Setting LD_LIBRARY_PATH is a really bad idea when cross compiling. Simplest way | ||
2 | to disable this is to rename the variable as per the patch below, then its | ||
3 | harmless. This is a hack. | ||
4 | |||
5 | RP 10/6/2010 | ||
6 | |||
7 | Index: source/config/Makefile.inc.in | ||
8 | =================================================================== | ||
9 | --- source.orig/config/Makefile.inc.in 2010-06-10 21:49:19.000000000 +0100 | ||
10 | +++ source/config/Makefile.inc.in 2010-06-10 21:49:46.000000000 +0100 | ||
11 | @@ -126,7 +126,7 @@ | ||
12 | ################################################################## | ||
13 | # Environment variable to set a runtime search path | ||
14 | # (Overridden when necessary in -mh files) | ||
15 | -LDLIBRARYPATH_ENVVAR = LD_LIBRARY_PATH | ||
16 | +LDLIBRARYPATH_ENVVAR = LD_LIBRARY_PATH2 | ||
17 | |||
18 | # Versioned target for a shared library | ||
19 | FINAL_SO_TARGET = $(SO_TARGET).$(SO_TARGET_VERSION) | ||
20 | Index: source/icudefs.mk.in | ||
21 | =================================================================== | ||
22 | --- source.orig/icudefs.mk.in 2010-06-10 21:51:03.000000000 +0100 | ||
23 | +++ source/icudefs.mk.in 2010-06-10 21:51:09.000000000 +0100 | ||
24 | @@ -150,7 +150,7 @@ | ||
25 | SHLIB.cc= $(CXX) $(CXXFLAGS) $(LDFLAGS) -shared | ||
26 | |||
27 | # Environment variable to set a runtime search path | ||
28 | -LDLIBRARYPATH_ENVVAR = LD_LIBRARY_PATH | ||
29 | +LDLIBRARYPATH_ENVVAR = LD_LIBRARY_PATH2 | ||
30 | |||
31 | # Versioned target for a shared library. | ||
32 | FINAL_SO_TARGET = $(SO_TARGET).$(SO_TARGET_VERSION) | ||
33 | Index: source/tools/genrb/gendtjar.pl | ||
34 | =================================================================== | ||
35 | --- source.orig/tools/genrb/gendtjar.pl 2010-06-10 21:51:36.000000000 +0100 | ||
36 | +++ source/tools/genrb/gendtjar.pl 2010-06-10 21:52:03.000000000 +0100 | ||
37 | @@ -68,8 +68,8 @@ | ||
38 | $icuLibDir = abs_path($icuBinDir."/../lib"); | ||
39 | $path .=":$icuBinDir:$icuLibDir"; | ||
40 | |||
41 | - $libpath = $ENV{'LD_LIBRARY_PATH'}.":$icuLibDir"; | ||
42 | - $ENV{'LD_LIBRARY_PATH'} = $libpath; | ||
43 | + $libpath = $ENV{'LD_LIBRARY_PATH2'}.":$icuLibDir"; | ||
44 | + $ENV{'LD_LIBRARY_PATH2'} = $libpath; | ||
45 | |||
46 | #print ("##### LD_LIBRARY_PATH = $ENV{'LD_LIBRARY_PATH'}\n"); | ||
47 | |||