From: Brian Norris Date: Tue, 13 Aug 2013 22:34:22 +0000 (-0700) Subject: run.sh: set Mac OSX DYLD_LIBRARY_PATH X-Git-Tag: oopsla2015~33 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;ds=sidebyside;h=ff18e5f3bf7f3ab930d56a4e4c8e1b1d76e28458;p=model-checker.git run.sh: set Mac OSX DYLD_LIBRARY_PATH DYLD_LIBRARY_PATH is the Mac OSX equivalent of Unix LD_LIBRARY_PATH. --- diff --git a/run.sh b/run.sh index bb204de..b611406 100755 --- a/run.sh +++ b/run.sh @@ -15,6 +15,8 @@ BIN=./test/userprog.o PREFIX= export LD_LIBRARY_PATH=. +# For Mac OSX +export DYLD_LIBRARY_PATH=. [ $# -gt 0 ] && [ "$1" = "gdb" ] && PREFIX=gdb && shift [ $# -gt 0 ] && [ -e "$1" ] && BIN="$1" && shift