commit 8c2d4a9e9ddde368b7715ee505caaa1bc0002749 parent 7ddaac3ed5e493e0463a0f096fcc7facaa8f2031 Author: Kyle Milz <kyle@getaddrinfo.net> Date: Sat, 12 Mar 2016 23:13:24 -0700 wrap: fix this up Diffstat:
M | scv_wrap | | | 9 | +++++++-- |
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/scv_wrap b/scv_wrap @@ -2,7 +2,7 @@ scv_root=/home/kyle/src/scv -if ! test -d $scv_root/instrumnet/compilers; then +if ! test -d $scv_root/instrument/compilers; then echo error: compilers/ directory does not exist exit 1 fi @@ -11,6 +11,11 @@ export SCV_PATH="$scv_root/instrument/compilers" export PATH="$SCV_PATH:$PATH" export CFLAGS="-pthread -I$scv_root" -export LDLIBS="-L$scv_root/lib -lruntime -pthread" + +export LDFLAGS="-L$scv_root/lib" +export LDADD="-lscv -pthread" + +# Used for running programs +export LD_LIBRARY_PATH="$scv_root/lib" exec $@