summaryrefslogtreecommitdiffstats
path: root/mkspecs
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@qt.io>2017-02-10 18:35:34 +0100
committerOswald Buddenhagen <oswald.buddenhagen@qt.io>2017-02-22 07:47:02 +0000
commit421bbefb9da3c31133833f82efafc8f29ec7e728 (patch)
tree185d026b3be574d2de6823f3002496bd290441d5 /mkspecs
parentfcf0aee044fbec46170308ee3396c472d7a8705f (diff)
configure: fix 'use' for detecting static libraries
these statements are assumed to provide dependencies for the currently detected library. this implies that their resolved content must be passed to the linker after the to be detected static library. Change-Id: Ifaaee2ac71bf176e8a0033765fb979fe119deaba Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'mkspecs')
-rw-r--r--mkspecs/features/qt_configure.prf2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkspecs/features/qt_configure.prf b/mkspecs/features/qt_configure.prf
index 921ffa244d..6d78dc9484 100644
--- a/mkspecs/features/qt_configure.prf
+++ b/mkspecs/features/qt_configure.prf
@@ -712,7 +712,7 @@ defineTest(qtConfHandleLibrary) {
# if the library defines a test, use it to verify the source.
!isEmpty($${lpfx}.test) {
- $${lpfx}.literal_args = $$use_args $$qtConfLibraryArgs($$spfx)
+ $${lpfx}.literal_args = $$qtConfLibraryArgs($$spfx) $$use_args
$${lpfx}.host = $$eval($${spfx}.host)
!qtConfTest_compile($$lpfx) {
qtLog(" => source failed verification.")