diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-03-17 12:22:16 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-03-17 12:22:16 +0100 |
| commit | 3a7867650020630d45ea752b5c6a4c4b693b7bcd (patch) | |
| tree | e24c75891a6f20a69473aca188b4349ff3678053 | |
| parent | 62739d9cdc7f055c6482929c1229c5898bc73084 (diff) | |
Fix run script for playlist editor on macOS.
| -rwxr-xr-x | run/dcpomatic_playlist | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/run/dcpomatic_playlist b/run/dcpomatic_playlist index a23c45766..134a1047e 100755 --- a/run/dcpomatic_playlist +++ b/run/dcpomatic_playlist @@ -4,6 +4,14 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" source $DIR/environment binary=build/src/tools/dcpomatic2_playlist +if [[ "$(uname -m)" == arm64 ]]; then + env=arm64/11.0 +else + env=x86_64/10.10 +fi + +export DYLD_LIBRARY_PATH=/Users/cah/osx-environment/$env/lib:/usr/local/lib + if [ "$1" == "--debug" ]; then shift gdb --args $binary $* |
