run.sh: set Mac OSX DYLD_LIBRARY_PATH
authorBrian Norris <banorris@uci.edu>
Tue, 13 Aug 2013 22:33:36 +0000 (15:33 -0700)
committerBrian Norris <banorris@uci.edu>
Tue, 13 Aug 2013 22:33:36 +0000 (15:33 -0700)
DYLD_LIBRARY_PATH is the Mac OSX equivalent of Unix LD_LIBRARY_PATH.

run.sh

diff --git a/run.sh b/run.sh
index f2bfcda..a14aea3 100755 (executable)
--- a/run.sh
+++ b/run.sh
@@ -15,6 +15,8 @@ BIN=./barrier/barrier
 PREFIX=
 
 export LD_LIBRARY_PATH=..
+# For Mac OSX
+export DYLD_LIBRARY_PATH=..
 
 [ $# -gt 0 ] && [ "$1" = "gdb" ] && PREFIX=gdb && shift
 [ $# -gt 0 ] && [ -x "$1" ] && [ -f "$1" ] && BIN="$1" && shift