summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/qt_build_extra.prf
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>2016-03-08 19:38:59 +0100
committerOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>2016-03-16 15:08:23 +0000
commit867357235ecfe12edd9940d5c8ef08f4e6ac559d (patch)
tree9693779239358154b8eaadc47205f0f798e7471f /mkspecs/features/qt_build_extra.prf
parentc27d4eeac6dcd48b89c3deff1110da6bd0ab6476 (diff)
delay application of configure -D/-I/-L/-l/-R flags
it is important that the flags coming from the current qt build appear first, as otherwise a pre-existing qt installation may interfere with the build. the windows configure does not have any of this magic to start with. Task-number: QTBUG-6351 Change-Id: Iacc1d9b5aa9eed9a5f0513baef9f6c6ffcef0735 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'mkspecs/features/qt_build_extra.prf')
-rw-r--r--mkspecs/features/qt_build_extra.prf27
1 files changed, 27 insertions, 0 deletions
diff --git a/mkspecs/features/qt_build_extra.prf b/mkspecs/features/qt_build_extra.prf
new file mode 100644
index 0000000000..4b01c7b285
--- /dev/null
+++ b/mkspecs/features/qt_build_extra.prf
@@ -0,0 +1,27 @@
+#
+# W A R N I N G
+# -------------
+#
+# This file is not part of the Qt API. It exists purely as an
+# implementation detail. It may change from version to version
+# without notice, or even be removed.
+#
+# We mean it.
+#
+
+equals(TEMPLATE, subdirs): return()
+
+# The headersclean check needs defines and includes even for
+# header-only modules.
+DEFINES += $$EXTRA_DEFINES
+INCLUDEPATH += $$EXTRA_INCLUDEPATH
+
+# The other flags are relevant only for actual libraries.
+equals(TEMPLATE, aux): return()
+
+LIBS += $$EXTRA_LIBS
+
+# Static libs need no rpaths
+static: return()
+
+QMAKE_RPATHDIR += $$EXTRA_RPATHS