summaryrefslogtreecommitdiffstats
path: root/icu/icu4c-rpath.patch
diff options
context:
space:
mode:
Diffstat (limited to 'icu/icu4c-rpath.patch')
-rw-r--r--icu/icu4c-rpath.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/icu/icu4c-rpath.patch b/icu/icu4c-rpath.patch
index 5094a05ae56c..bd625e9e96ce 100644
--- a/icu/icu4c-rpath.patch
+++ b/icu/icu4c-rpath.patch
@@ -19,3 +19,17 @@
@echo LDICUDTFLAGS=$(LDFLAGSICUDT) >> $(OUTPUTFILE)
@echo LD_SONAME=$(LD_SONAME) >> $(OUTPUTFILE)
@echo RPATH_FLAGS=$(RPATH_FLAGS) >> $(OUTPUTFILE)
+--- misc/icu/source/config/mh-linux 2010-09-29 20:37:36.000000000 +0200
++++ misc/build/icu/source/config/mh-linux 2011-03-15 10:56:26.653056004 +0100
+@@ -20,6 +20,11 @@
+ LD_RPATH= -Wl,-zorigin,-rpath,'$$'ORIGIN
+ LD_RPATH_PRE = -Wl,-rpath,
+
++## Force RPATH=$ORIGIN to locate own dependencies w/o need for LD_LIBRARY_PATH
++## (incl. the C++ runtime libs potentially found in the URE lib dir):
++ENABLE_RPATH=YES
++RPATHLDFLAGS=${LD_RPATH_PRE}'$$ORIGIN:$$ORIGIN/../ure-link/lib'
++
+ ## These are the library specific LDFLAGS
+ LDFLAGSICUDT=-nodefaultlibs -nostdlib
+