Missing library from test link list.
[dcpomatic.git] / run / dcpomatic_create
index 6331031..7f88082 100755 (executable)
@@ -1,6 +1,9 @@
 #!/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 $*