Scilab launcher script: use redist libraries if present 26/19626/1
Clément DAVID [Mon, 18 Dec 2017 13:48:08 +0000 (14:48 +0100)]
Change-Id: Icb3bd758ea6a15cfe03f2cc822ca6253cf4ca9ba

scilab/bin/scilab

index 161a676..eff34c5 100755 (executable)
@@ -827,6 +827,9 @@ if test -d $SCI/lib/thirdparty; then
     SCILIB=$SCI/lib/thirdparty:$SCILIB;
 fi
 LD_LIBRARY_PATH=$SCILIB${LD_LIBRARY_PATH+:$LD_LIBRARY_PATH}
+if test -d $SCI/lib/thirdparty/redist; then
+    LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$SCI/lib/thirdparty/redist;
+fi
 
 case $OS in
     *darwin* | *Darwin*) # MacOS X