summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-08-09 00:42:25 +0200
committerCarl Hetherington <cth@carlh.net>2024-08-09 00:42:25 +0200
commit158d68c382b46f38e7f112dbfa3fdd3485ce3e06 (patch)
tree72f2420854bc2ac8ca38e36b7b45e3800ad28e01
parentf08c5b4596b7ded4ea75bfa599414470c9dfbb84 (diff)
Add hack to run script to make it work from a cdist tree.
-rwxr-xr-xrun/dcpomatic2
1 files changed, 2 insertions, 0 deletions
diff --git a/run/dcpomatic b/run/dcpomatic
index 45f857ae2..abc0cf11b 100755
--- a/run/dcpomatic
+++ b/run/dcpomatic
@@ -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