diff options
author | Jake Petroules <jake.petroules@qt.io> | 2017-12-07 23:30:40 -0800 |
---|---|---|
committer | Jake Petroules <jake.petroules@qt.io> | 2017-12-08 17:38:28 +0000 |
commit | ee24567c725c184300e11289e8fa2b81743426d2 (patch) | |
tree | d332cc10c0d7851ab81609049572aa24ff43d98a /share/qbs/modules/cpp/setuprunenv.js | |
parent | 5a1bb1db8e10d3964d72d7a15855bd8796d97ec7 (diff) |
Uncomment a platform check now that the respective properties exist
Change-Id: Ia7ec169eac2d5381137771a92ccb25c01c17245b
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'share/qbs/modules/cpp/setuprunenv.js')
-rw-r--r-- | share/qbs/modules/cpp/setuprunenv.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/share/qbs/modules/cpp/setuprunenv.js b/share/qbs/modules/cpp/setuprunenv.js index 8acacdd30..168bb4abf 100644 --- a/share/qbs/modules/cpp/setuprunenv.js +++ b/share/qbs/modules/cpp/setuprunenv.js @@ -97,9 +97,8 @@ function setupRunEnvironment(product, config) if (config.contains("ignore-lib-dependencies")) return; - // TODO: Uncomment once the property is available -// if (product.qbs.hostPlatform != product.qbs.targetPlatform) -// return; + if (product.qbs.hostPlatform !== product.qbs.targetPlatform) + return; var libPaths = []; var frameworkPaths = []; |