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