summaryrefslogtreecommitdiffstats
path: root/configure.pri
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@qt.io>2017-05-15 14:14:28 +0200
committerOswald Buddenhagen <oswald.buddenhagen@qt.io>2017-06-12 09:55:39 +0000
commit5dab77ba968ceac57efe108abd5c580d1df24d21 (patch)
tree35ddbbd677f58fb687f65ca4c45f3cb0d141caba /configure.pri
parent76223ecbaa3b01a9c2ab641bd30d674f7c46a4d6 (diff)
build the configure tests in the top-level build dir
there isn't really a point in doing strict shadow builds of them, and it complicates stand-alone building of sub-projects (because it points below the build root). Task-number: QTBUG-58372 Change-Id: Ia3bde3826baac44749b27452fd4aeb9491ecb94e Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'configure.pri')
-rw-r--r--configure.pri2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.pri b/configure.pri
index 7d719e6797..76bb27e4ae 100644
--- a/configure.pri
+++ b/configure.pri
@@ -252,7 +252,7 @@ defineTest(qtConfTest_architecture) {
error("Could not determine $$eval($${1}.label). See config.log for details.")
test = $$eval($${1}.test)
- test_out_dir = $$shadowed($$QMAKE_CONFIG_TESTS_DIR/$$test)
+ test_out_dir = $$OUT_PWD/$$basename(QMAKE_CONFIG_TESTS_DIR)/$$test
unix:exists($$test_out_dir/arch): \
content = $$cat($$test_out_dir/arch, blob)
else: win32:exists($$test_out_dir/arch.exe): \