aboutsummaryrefslogtreecommitdiffstats
path: root/clean_build.sh
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@ubuntu.com>2018-09-19 18:24:12 -0400
committerLibravatarUnit 193 <unit193@ubuntu.com>2018-09-19 18:24:12 -0400
commita12f59bc78d8eab79d24e2e625a9a85b81c20a54 (patch)
treef9d4bceac647f7f9ce335881f40be31169435349 /clean_build.sh
parent7a723cbbf3b9ba1cf23ca67a08058b41e56831e8 (diff)
parent68a36b3b67ec82cdd3f77e88e40d1043cbab5000 (diff)
Update upstream source from tag 'upstream/2.1.2+dfsg'
Update to upstream version '2.1.2+dfsg' with Debian dir a655df7e32df947a70958a6a26869e4705733064
Diffstat (limited to 'clean_build.sh')
-rwxr-xr-xclean_build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/clean_build.sh b/clean_build.sh
index 3085c08..fc1065a 100755
--- a/clean_build.sh
+++ b/clean_build.sh
@@ -14,7 +14,7 @@ if [ "$(uname)" = "Darwin" ]; then
# OSX needs a lot of extra help, poor thing
# run the osx_environment.sh script to fix paths
. ./osx_environment.sh
- B_CMAKE_FLAGS="-DCMAKE_OSX_SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk -DCMAKE_OSX_DEPLOYMENT_TARGET=10.9 $B_CMAKE_FLAGS"
+ B_CMAKE_FLAGS="-DCMAKE_OSX_SYSROOT=$(xcode-select --print-path)/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -DCMAKE_OSX_DEPLOYMENT_TARGET=10.9 $B_CMAKE_FLAGS"
fi
# allow local customizations to build environment
[ -r ./build_env.sh ] && . ./build_env.sh