summaryrefslogtreecommitdiffstats
path: root/mkspecs/macx-ios-clang/features/resolve_config.prf
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>2016-10-07 20:16:58 +0200
committerOswald Buddenhagen <oswald.buddenhagen@qt.io>2016-10-14 14:54:46 +0000
commit59985b3c291f769cfc24cf361367757fce229397 (patch)
tree5bf850c06d17813fb0d7f8b721c69a25915c3a29 /mkspecs/macx-ios-clang/features/resolve_config.prf
parent6851cf52afe188e94344ce22074af97e054f5896 (diff)
fix xcodebuilds without -sdk iphonesimulator
the order of the arguments passed to addExclusiveBuilds() determines the name of the CONFIG flag which actually enables the mode. that is historically fixed to iphonesimulator_and_iphoneos and we cannot just change the order. to get around this, add a new "overload" of the function which allows specifying the flag independently from the order of the builds, and make use of it in ios' resolve_config.prf. amends d2b4a789c. Change-Id: Ia3fabea0c0c30beae680b57e75bdcdf35ef6503d Reviewed-by: Jake Petroules <jake.petroules@qt.io>
Diffstat (limited to 'mkspecs/macx-ios-clang/features/resolve_config.prf')
-rw-r--r--mkspecs/macx-ios-clang/features/resolve_config.prf4
1 files changed, 2 insertions, 2 deletions
diff --git a/mkspecs/macx-ios-clang/features/resolve_config.prf b/mkspecs/macx-ios-clang/features/resolve_config.prf
index 64db2252cb..904296aea6 100644
--- a/mkspecs/macx-ios-clang/features/resolve_config.prf
+++ b/mkspecs/macx-ios-clang/features/resolve_config.prf
@@ -29,9 +29,9 @@ macx-xcode {
# Switch the order to make sure that the first Makefile target is the right one
!contains(QT_CONFIG, simulator_and_device):contains(QMAKE_MAC_SDK, ^iphonesimulator.*): \
- addExclusiveBuilds(iphonesimulator, iphoneos)
+ addExclusiveBuildsProper(iphonesimulator_and_iphoneos, iphonesimulator iphoneos)
else: \
- addExclusiveBuilds(iphoneos, iphonesimulator)
+ addExclusiveBuildsProper(iphonesimulator_and_iphoneos, iphoneos iphonesimulator)
}
equals(TEMPLATE, subdirs) {