projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62739d9
)
Fix run script for playlist editor on macOS.
author
Carl Hetherington
<cth@carlh.net>
Sun, 17 Mar 2024 11:22:16 +0000
(12:22 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Sun, 17 Mar 2024 11:22:16 +0000
(12:22 +0100)
run/dcpomatic_playlist
patch
|
blob
|
history
diff --git
a/run/dcpomatic_playlist
b/run/dcpomatic_playlist
index a23c45766b58c0659789c7f3c7e4f33d50b171ce..134a1047ee8dc459e1f2279aafc72b7bab5eb812 100755
(executable)
--- 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 $*