diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2018-06-22 12:43:02 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2018-06-22 12:30:08 +0000 |
commit | 841b23fc51eb0961bdc1feabbe7d575fad220362 (patch) | |
tree | 685efe85f254971b410bdf1363d620eace2cf22e /share/qbs/modules/Exporter/pkgconfig/pkgconfig.qbs | |
parent | da6c0e50588f08e4650f3a335310509e6be5fecd (diff) |
Fix rule input tags in the Exporter modules
We need to make sure all the artifacts are present in the build graph
before writing the respective interface file, but we don't need to
rewrite it if these artifacts are rebuilt. So use auxiliaryInputs
instead of inputs.
Change-Id: I82dee65f6630a0bbd24245df9100e4dabf0320f2
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'share/qbs/modules/Exporter/pkgconfig/pkgconfig.qbs')
-rw-r--r-- | share/qbs/modules/Exporter/pkgconfig/pkgconfig.qbs | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/share/qbs/modules/Exporter/pkgconfig/pkgconfig.qbs b/share/qbs/modules/Exporter/pkgconfig/pkgconfig.qbs index 5fbda2bf4..aecad6126 100644 --- a/share/qbs/modules/Exporter/pkgconfig/pkgconfig.qbs +++ b/share/qbs/modules/Exporter/pkgconfig/pkgconfig.qbs @@ -32,11 +32,8 @@ Module { requiresInputs: false // Make sure all relevant library artifacts have been created by the time we run. - inputsFromDependencies: autoDetect - ? ["Exporter.pkgconfig.pc", "staticlibrary", "dynamiclibrary"] - : [] - inputs: { - if (!product.Exporter.pkgconfig.autoDetect) + auxiliaryInputs: { + if (!autoDetect) return undefined; if (product.type.contains("staticlibrary")) return ["staticlibrary"]; |