diff options
| -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 $* |
