Commit in hps-et-java/scripts on MAIN | |||
et_start_c_server.sh | +6 | -1 | 1.1 -> 1.2 |
set ld path correctly for Mac
diff -u -r1.1 -r1.2 --- et_start_c_server.sh 16 Mar 2012 21:21:02 -0000 1.1 +++ et_start_c_server.sh 4 Jun 2013 18:15:01 -0000 1.2 @@ -1,5 +1,10 @@
server="./bin/Linux-x86_64/et_start"
-export LD_LIBRARY_PATH=`pwd`/lib/Linux-x86_64/
+ +if [[ `uname` == "Darwin" ]]; then + export DYLD_LIBRARY_PATH=`pwd`/lib/Darwin-x86_32/ +else + export LD_LIBRARY_PATH=`pwd`/lib/Linux-x86_64/ +fi
echo "$server" exec $server $@