diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2018-06-08 13:11:27 +0200 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2018-06-11 16:14:46 +0200 |
commit | 7a76eb23ea1e47a8fdbd8cdc5220f01e8671c00a (patch) | |
tree | a8955d2a429256cf3d9500cdf6cf1181f85f3b23 /scripts/launch-c-xcode.in | |
parent | 0b883fdbfd671260bd859f1c31ac2dfb535fd28b (diff) | |
download | qtlocation-mapboxgl-7a76eb23ea1e47a8fdbd8cdc5220f01e8671c00a.tar.gz |
[build] Xcode 10 no longer exposes DEVELOPER_DIR to the compiler launcher
We'll have to extract the location of Xcode's developer dir from $PATH :(
Diffstat (limited to 'scripts/launch-c-xcode.in')
-rw-r--r-- | scripts/launch-c-xcode.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/launch-c-xcode.in b/scripts/launch-c-xcode.in index 77a0c8aca3..837e1738e8 100644 --- a/scripts/launch-c-xcode.in +++ b/scripts/launch-c-xcode.in @@ -1,4 +1,4 @@ #!/bin/sh export CCACHE_CPP2=true -exec "@C_LAUNCHER@" "${DEVELOPER_DIR}/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang" "$@" +exec "@C_LAUNCHER@" "${PATH%%/Contents/Developer/*}/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang" "$@" |