Fix DYLD_LIBRARY_PATH for Mac OS X binaries 99/16899/2
Vincent COUVERT [Mon, 27 Jul 2015 11:14:43 +0000 (13:14 +0200)]
Change-Id: Iaa367a28b1d809ce1d65d577ca57d97d1268ea9b

scilab/bin/scilab

index e1434b1..3275201 100755 (executable)
@@ -331,7 +331,7 @@ set_embedded_java_vm () {
                 JAVA_HOME=$SCIBINARYBASE/thirdparty/java/Contents/Home/
                 JAVA_JVM_VERSION=$JAVA_HOME
                 export JAVA_JVM_VERSION
-                DYLD_LIBRARY_PATH="$JAVA_HOME/lib${DYLD_LIBRARY_PATH:+:$DYLD_LIBRARY_PATH}"
+                DYLD_LIBRARY_PATH="$JAVA_HOME/lib:$JAVA_HOME/lib/server:${DYLD_LIBRARY_PATH:+:$DYLD_LIBRARY_PATH}"
                 ;;
             *)
             echo "Could not find the Java configuration for the OS <${OS}>. Please contact us or submit a bug report with your detailed configuration http://bugzilla.scilab.org/"