13 lines
646 B
Diff
13 lines
646 B
Diff
|
diff a/src/buildtools/config/mac_osx.pri b/src/buildtools/config/mac_osx.pri
|
||
|
--- a/src/buildtools/config/mac_osx.pri
|
||
|
+++ b/src/buildtools/config/mac_osx.pri
|
||
|
@@ -5,8 +5,6 @@ load(functions)
|
||
|
# otherwise query for it.
|
||
|
QMAKE_MAC_SDK_VERSION = $$eval(QMAKE_MAC_SDK.$${QMAKE_MAC_SDK}.SDKVersion)
|
||
|
isEmpty(QMAKE_MAC_SDK_VERSION) {
|
||
|
- QMAKE_MAC_SDK_VERSION = $$system("/usr/bin/xcodebuild -sdk $${QMAKE_MAC_SDK} -version SDKVersion 2>/dev/null")
|
||
|
- isEmpty(QMAKE_MAC_SDK_VERSION): error("Could not resolve SDK version for \'$${QMAKE_MAC_SDK}\'")
|
||
|
}
|
||
|
|
||
|
# chromium/build/mac/find_sdk.py expects the SDK version (mac_sdk_min) in Major.Minor format.
|