projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6b9b7a
)
Allow running player from cdist-built trees.
author
Carl Hetherington
<cth@carlh.net>
Wed, 24 Jul 2024 16:46:43 +0000
(18:46 +0200)
committer
Carl Hetherington
<cth@carlh.net>
Sat, 27 Jul 2024 11:10:44 +0000
(13:10 +0200)
run/dcpomatic_player
patch
|
blob
|
history
diff --git
a/run/dcpomatic_player
b/run/dcpomatic_player
index 0c565c25186c7c268d08ca9f7973884801cfcc3c..96806bba1d3c92b34b863e761168a1e07ecbcdd9 100755
(executable)
--- a/
run/dcpomatic_player
+++ b/
run/dcpomatic_player
@@
-4,6
+4,9
@@
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
source $DIR/environment
binary=build/src/tools/dcpomatic2_player
+# 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 $*