[Libreoffice-commits] .: padmin/source

Caolán McNamara caolan at kemper.freedesktop.org
Tue Feb 8 13:15:29 PST 2011


 padmin/source/spadmin.sh |    9 +++++++++
 1 file changed, 9 insertions(+)

New commits:
commit ecbec07771b518617c188a0a6ef182195214de0e
Author: Baptiste Daroussin <bapt at freebsd.org>
Date:   Tue Feb 8 21:15:23 2011 +0000

    LD_LIBRARY_PATH fix for freebsd

diff --git a/padmin/source/spadmin.sh b/padmin/source/spadmin.sh
index b57fd63..24565ec 100644
--- a/padmin/source/spadmin.sh
+++ b/padmin/source/spadmin.sh
@@ -43,6 +43,15 @@ fi
 sd_prog=`pwd`
 cd "$sd_cwd"
 
+case "`uname -s`" in
+    FreeBSD)
+        sd_prog1="$sd_prog/../basis-link/program"
+        sd_prog2="$sd_prog/../basis-link/ure-link/lib"
+        LD_LIBRARY_PATH=$sd_prog1:$sd_prog2${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
+        export LD_LIBRARY_PATH
+        ;;
+esac
+
 #collect all bootstrap variables specified on the command line
 #so that they can be passed as arguments to javaldx later on
 for arg in $@


More information about the Libreoffice-commits mailing list