summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAshish Kulkarni <kulkarni.ashish@gmail.com>2014-12-17 16:06:42 +0530
committerAshish Kulkarni <kulkarni.ashish@gmail.com>2015-01-08 17:51:13 +0100
commitbf0c6b764cd79301226f481dc8bc98c4d85995fe (patch)
tree41dea21e2c8140922ea3d8e6a63181430063dbe8
parent4c3ba94508184ae451b487dd86bee56c7feb3521 (diff)
fix detection of ICU when configuring for Windows
When linking to the static ICU libraries, you need to link to advapi32.lib. This is not required in qtbase because the library is automatically added to QMAKE_LIBS_CORE, so we do the same here. Change-Id: I6d548790de4feae4b1d05ff27fb814e933f71839 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
-rw-r--r--Tools/qmake/config.tests/icu/icu.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tools/qmake/config.tests/icu/icu.pro b/Tools/qmake/config.tests/icu/icu.pro
index 0486c531a..ce3780a33 100644
--- a/Tools/qmake/config.tests/icu/icu.pro
+++ b/Tools/qmake/config.tests/icu/icu.pro
@@ -4,6 +4,7 @@ CONFIG -= qt dylib
win32 {
CONFIG(static, static|shared) {
+ LIBS += $$QMAKE_LIBS_CORE
CONFIG(debug, debug|release) {
LIBS += -lsicuind -lsicuucd -lsicudtd
} else {