Missing library from test link list.
[dcpomatic.git] / run / dcpomatic_create
index 63310315ece18079e1a0bb8a3f6f9583afe749af..7f88082bd02a7583b7439336abbeaf4417ed0c9f 100755 (executable)
@@ -1,6 +1,9 @@
 #!/bin/bash
 
 #!/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/dcpomatic2_create $*
 if [ "$1" == "--debug" ]; then
     shift
     gdb --args build/src/tools/dcpomatic2_create $*