diff options
author | Kai Koehne <kai.koehne@digia.com> | 2013-11-21 13:42:19 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-11-22 07:30:57 +0100 |
commit | 8e48d830e8a21c0778c53dbe6fc00fce85cdf000 (patch) | |
tree | ae4b715ebb4fa3c715004b88c3b34fff4c8ee0f9 | |
parent | 773610cc451bb2b4319da6567b21510022d08014 (diff) | |
download | qtbase-8e48d830e8a21c0778c53dbe6fc00fce85cdf000.tar.gz |
Handle INCLUDE and LIB environment variables in config.tests for MinGW
Fix ICU compile test for MinGW by adding the INCLUDE and LIB environment
variables to the compiler flags. The logic is the same as in qmodule.pri.
Task-number: QTBUG-34971
Change-Id: I192e06643517087587ec4a5dffe4698c2078011a
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
-rw-r--r-- | config.tests/.qmake.conf | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/config.tests/.qmake.conf b/config.tests/.qmake.conf new file mode 100644 index 0000000000..71e6817656 --- /dev/null +++ b/config.tests/.qmake.conf @@ -0,0 +1,6 @@ +mingw { + TMPPATH = $$(INCLUDE) + QMAKE_INCDIR_POST += $$split(TMPPATH, $$QMAKE_DIRLIST_SEP) + TMPPATH = $$(LIB) + QMAKE_LIBDIR_POST += $$split(TMPPATH, $$QMAKE_DIRLIST_SEP) +} |