projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12cbc5c
)
Add DYLD_LIBRARY_PATH to run/dcpomatic
author
Carl Hetherington
<cth@carlh.net>
Sun, 4 Feb 2024 11:23:37 +0000
(12:23 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Sun, 4 Feb 2024 11:23:37 +0000
(12:23 +0100)
run/dcpomatic
patch
|
blob
|
history
diff --git
a/run/dcpomatic
b/run/dcpomatic
index 429139dac3794494b938f6f76e746449e840cbf3..38de6a670b58c874c42cf0d55e4ba83b49ebc7cb 100755
(executable)
--- a/
run/dcpomatic
+++ b/
run/dcpomatic
@@
-4,6
+4,14
@@
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
source $DIR/environment
binary=$build/src/tools/dcpomatic2
+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 $*