diff options
author | Andrew Knight <andrew.knight@intopalo.com> | 2016-05-08 20:44:08 +0300 |
---|---|---|
committer | Jake Petroules <jake.petroules@qt.io> | 2016-06-17 15:53:50 +0000 |
commit | e55b41dde5789bd45164555f2bddc0a8fe15771d (patch) | |
tree | b7885238bb73121ad37f1066bf3b47e76a183862 /share/qbs/modules/cpp/ios-gcc.qbs | |
parent | 1a103f7a90b51022aa10da228deb566cd7b446ca (diff) |
Enable cross-compilation to Darwin targets from non-Darwin hosts
Now that plist support is cross-platform, some assumptions about the
hostOS being Darwin can be removed to allow for cross-compiling to
Darwin targets.
Assumes the user has mounted the partition containing their Xcode SDKs.
Change-Id: I0b22964bebf9c2b968890ece249695aa7c676e09
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
Diffstat (limited to 'share/qbs/modules/cpp/ios-gcc.qbs')
-rw-r--r-- | share/qbs/modules/cpp/ios-gcc.qbs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/share/qbs/modules/cpp/ios-gcc.qbs b/share/qbs/modules/cpp/ios-gcc.qbs index 0708a22ef..1ab6e8021 100644 --- a/share/qbs/modules/cpp/ios-gcc.qbs +++ b/share/qbs/modules/cpp/ios-gcc.qbs @@ -35,8 +35,7 @@ import qbs.FileInfo import qbs.ModUtils DarwinGCC { - condition: qbs.hostOS.contains('osx') && - qbs.targetOS.contains('ios') && + condition: qbs.targetOS.contains('ios') && qbs.toolchain && qbs.toolchain.contains('gcc') targetSystem: "ios" + (minimumIosVersion || "") |