[ooo-build-commit] Branch 'ooo/master' - solenv/bin
Jan Holesovsky
kendy at kemper.freedesktop.org
Wed Jul 1 17:08:44 PDT 2009
solenv/bin/localize | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
New commits:
commit 0bfc6c9e2a4620fee425bfd20fb6be8d2128dcf3
Author: Ivo Hinkelmann <ihi at openoffice.org>
Date: Wed Jul 1 12:16:08 2009 +0000
#i10000# to 'honor' the lost path variable ...
diff --git a/solenv/bin/localize b/solenv/bin/localize
new file mode 100755
index 0000000..74a75ec
--- /dev/null
+++ b/solenv/bin/localize
@@ -0,0 +1,20 @@
+#!/bin/sh
+if [ x${SOLARENV}x = xx ]; then
+ echo No environment found, please use 'setsolar'
+exit 1
+fi
+
+# localize.pl calls localize_sl in solver bin directory which depends on dynamic
+# libraries in solver lib directory but has no correct RPATH (or equivalent):
+if [ "${OS?}" = MACOSX ]; then
+ export DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH+${DYLD_LIBRARY_PATH}:}${SOLARVERSION?}/${INPATH?}/lib${UPDMINOREXT}
+else
+ export LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}${SOLARVERSION?}/${INPATH?}/lib${UPDMINOREXT}
+fi
+
+if [ x${SOLARVER}x = xx -o x${UPDMINOR}x = xx ]; then
+ exec perl -w $SOLARVERSION/$INPATH/bin/localize.pl "$@"
+else
+ exec perl -w $SOLARVERSION/$INPATH/bin.$UPDMINOR/localize.pl "$@"
+fi
+
More information about the ooo-build-commit
mailing list