diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-07-24 18:46:43 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-07-27 13:10:44 +0200 |
| commit | d7b8bf995951293db274bc6f5ece49136c0742f3 (patch) | |
| tree | 982c1234a25b4ed44cfcb1ae7537a7ec05e3c204 /run/dcpomatic_player | |
| parent | c6b9b7a6ce33e53db65beb6b169f3d9a8f8cfa45 (diff) | |
Allow running player from cdist-built trees.
Diffstat (limited to 'run/dcpomatic_player')
| -rwxr-xr-x | run/dcpomatic_player | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/run/dcpomatic_player b/run/dcpomatic_player index 0c565c251..96806bba1 100755 --- 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 $* |
