diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2018-02-21 17:57:32 +0100 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2018-02-22 15:19:48 +0000 |
commit | edeac6bab66d6fc8d53daf82bc51e145158b1a3d (patch) | |
tree | e67f5d1fb58b1857d4259998a2e9b468ba2ac3c0 /tests/auto | |
parent | 905b78882ac6c6bc14674a23f2eeb8fdea331c9b (diff) |
Darwin: Fix lipo rules
- We must activate these rules only on the product that is the actual
aggregator.
- The lipo command must only consider artifacts of the multiplexed
variants of the same product.
Change-Id: I25dc42cb53d84d85786b2d7ff96297b7fd58a90d
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
Diffstat (limited to 'tests/auto')
-rw-r--r-- | tests/auto/blackbox/testdata-apple/apple-multiconfig/apple-multiconfig.qbs | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/tests/auto/blackbox/testdata-apple/apple-multiconfig/apple-multiconfig.qbs b/tests/auto/blackbox/testdata-apple/apple-multiconfig/apple-multiconfig.qbs index f8f5e3e5c..ae2fcd402 100644 --- a/tests/auto/blackbox/testdata-apple/apple-multiconfig/apple-multiconfig.qbs +++ b/tests/auto/blackbox/testdata-apple/apple-multiconfig/apple-multiconfig.qbs @@ -151,4 +151,36 @@ Project { qbs.installSourceBase: product.buildDirectory } } + + DynamicLibrary { + Depends { name: "cpp" } + Depends { name: "bundle" } + Depends { name: "multilibB" } + name: "multilibA" + files: ["lib.c"] + cpp.sonamePrefix: "@rpath" + cpp.defines: ["VARIANT=" + Utilities.cStringQuote(qbs.buildVariant)] + qbs.architectures: ["x86", "x86_64"] + qbs.buildVariants: ["debug", "profile"] + Group { + fileTagsFilter: ["bundle.content"] + qbs.install: true + qbs.installSourceBase: product.buildDirectory + } + } + DynamicLibrary { + Depends { name: "cpp" } + Depends { name: "bundle" } + name: "multilibB" + files: ["lib.c"] + cpp.sonamePrefix: "@rpath" + cpp.defines: ["VARIANT=" + Utilities.cStringQuote(qbs.buildVariant)] + qbs.architectures: ["x86", "x86_64"] + qbs.buildVariants: ["debug", "profile"] + Group { + fileTagsFilter: ["bundle.content"] + qbs.install: true + qbs.installSourceBase: product.buildDirectory + } + } } |