Missing library from test link list.
[dcpomatic.git] / run / dcpomatic_create
index bf3c3c4..7f88082 100755 (executable)
@@ -1,18 +1,21 @@
 #!/bin/bash
 
-export LD_LIBRARY_PATH=build/src/lib:build/src/wx:build/src/asdcplib/src:$LD_LIBRARY_PATH
+cd "$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"/..
+
+export LD_LIBRARY_PATH=build/src/lib:build/src/wx:/home/c.hetherington/lib:$LD_LIBRARY_PATH
+export DYLD_LIBRARY_PATH=build/src/lib:build/src/wx:build/src/asdcplib/src:/Users/c.hetherington/osx-environment/64/lib
 if [ "$1" == "--debug" ]; then
     shift
-    gdb --args build/src/tools/dcpomatic_create $*
+    gdb --args build/src/tools/dcpomatic2_create $*
 elif [ "$1" == "--valgrind" ]; then
     shift
-    valgrind --tool="memcheck" build/src/tools/dcpomatic_create $*
+    valgrind --tool="memcheck" build/src/tools/dcpomatic2_create $*
 elif [ "$1" == "--callgrind" ]; then
     shift
-    valgrind --tool="callgrind" build/src/tools/dcpomatic_create $*
+    valgrind --tool="callgrind" build/src/tools/dcpomatic2_create $*
 elif [ "$1" == "--perf" ]; then
     shift
-    perf record build/src/tools/dcpomatic_create $*
+    perf record build/src/tools/dcpomatic2_create $*
 else
-    build/src/tools/dcpomatic_create $*
+    build/src/tools/dcpomatic2_create $*
 fi