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>
This commit is contained in:
parent
773610cc45
commit
8e48d830e8
6
config.tests/.qmake.conf
Normal file
6
config.tests/.qmake.conf
Normal file
@ -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)
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user