summaryrefslogtreecommitdiff
path: root/run
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-08-03 22:28:03 +0200
committerCarl Hetherington <cth@carlh.net>2024-08-03 22:28:03 +0200
commite9579689d096a04aaf1309f0a1574288311e72d0 (patch)
treeb448137e4242c8dfa77c6bd0fa2de1f3b26aa446 /run
parent95abcc7d18997c1391423d15506bf03ab20997e6 (diff)
parentf08c5b4596b7ded4ea75bfa599414470c9dfbb84 (diff)
Merge remote-tracking branch 'origin/main' into v2.17.x
Diffstat (limited to 'run')
-rwxr-xr-xrun/dcpomatic_player3
1 files changed, 3 insertions, 0 deletions
diff --git a/run/dcpomatic_player b/run/dcpomatic_player
index 23d2dc3d8..997848e0b 100755
--- a/run/dcpomatic_player
+++ b/run/dcpomatic_player
@@ -13,6 +13,9 @@ fi
echo $env
export DYLD_LIBRARY_PATH=/Users/cah/osx-environment/$env/lib:/usr/local/lib
+# Allow running from a tree built using cdist
+export LD_LIBRARY_PATH=$DIR/../../../lib:$DIR/../../../lib64:$LD_LIBRARY_PATH
+
if [ "$1" == "--debug" ]; then
shift
gdb --args build/src/tools/dcpomatic2_player $*