diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-01-15 23:56:41 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-01-15 23:56:41 +0100 |
| commit | 90a1146de8e3cc9e03d3a25953c90462e8f49728 (patch) | |
| tree | 617d7ce3f49766571313865e0b4ffd0ed8f009f5 /run/environment | |
| parent | 511d1b7325f2f0a027ca72b5bc1fc3798abb8bbc (diff) | |
Tinker with local build path setup on macOS.
Diffstat (limited to 'run/environment')
| -rw-r--r-- | run/environment | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/run/environment b/run/environment index 822e0603a..cf1448c23 100644 --- a/run/environment +++ b/run/environment @@ -1,3 +1,9 @@ +if [[ "$(uname -m)" == arm64 ]]; then + env_sub=arm64/11.0 +else + env_sub=x86_64/10.10 +fi + DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" build=$DIR/../build env=$DIR/../../.. @@ -5,6 +11,6 @@ export LD_LIBRARY_PATH=$build/src/lib:$build/src/wx:$env/lib:/usr/local/lib64:/u if [[ $(readlink -f $DIR/..) =~ (.*build/[^/]*) ]]; then export LD_LIBRARY_PATH=${BASH_REMATCH[1]}/lib:$LD_LIBRARY_PATH fi -export DYLD_LIBRARY_PATH=$build/src/lib:$build/src/wx:/Users/ci/workspace/lib +export DYLD_LIBRARY_PATH=$build/src/lib:$build/src/wx:/Users/ci/workspace/lib:/Users/cah/osx-environment/$env_sub/lib:/usr/local/lib export DCPOMATIC_GRAPHICS=$DIR/../graphics |
