Add hack to run script to make it work from a cdist tree.
authorCarl Hetherington <cth@carlh.net>
Thu, 8 Aug 2024 22:42:25 +0000 (00:42 +0200)
committerCarl Hetherington <cth@carlh.net>
Thu, 8 Aug 2024 22:42:25 +0000 (00:42 +0200)
run/dcpomatic

index 45f857ae2a9b695f0e6501c09baf2f46a676597e..abc0cf11b4400691d7a27b8e15c8eef30119ef69 100755 (executable)
@@ -10,6 +10,8 @@ else
     env=x86_64/10.10
 fi
 
+# Allow running from a tree built using cdist
+export LD_LIBRARY_PATH=$DIR/../../../lib:$DIR/../../../lib64:$LD_LIBRARY_PATH
 export DYLD_LIBRARY_PATH=/Users/cah/osx-environment/$env/lib:/usr/local/lib
 
 # export ASAN_OPTIONS=verbosity=1:malloc_context_size=20:detect_leaks=1