Allow building against static ICU libs also on Unix
For dynamic builds of ICU, libicudata is an implicit dependency. Anyhow, it doesn't harm to explicitly link against it, either. So let's do this everywhere ... Task-number: QTBUG-38445 Change-Id: I420ba096e2ce5e1b8d81814ffb4aa7b300143b01 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
f1eefd6cf9
commit
159465536f
@ -1,6 +1,7 @@
|
||||
SOURCES = icu.cpp
|
||||
CONFIG += console
|
||||
CONFIG -= qt dylib
|
||||
|
||||
win32 {
|
||||
CONFIG(static, static|shared) {
|
||||
CONFIG(debug, debug|release) {
|
||||
@ -9,8 +10,8 @@ win32 {
|
||||
LIBS += -lsicuin -lsicuuc -lsicudt
|
||||
}
|
||||
} else {
|
||||
LIBS += -licuin -licuuc
|
||||
LIBS += -licuin -licuuc -licudt
|
||||
}
|
||||
} else {
|
||||
LIBS += -licui18n -licuuc
|
||||
LIBS += -licui18n -licuuc -licudata
|
||||
}
|
||||
|
@ -163,10 +163,10 @@ contains(QT_CONFIG,icu) {
|
||||
LIBS_PRIVATE += -lsicuin -lsicuuc -lsicudt
|
||||
}
|
||||
} else {
|
||||
LIBS_PRIVATE += -licuin -licuuc
|
||||
LIBS_PRIVATE += -licuin -licuuc -licudt
|
||||
}
|
||||
} else {
|
||||
LIBS_PRIVATE += -licui18n -licuuc
|
||||
LIBS_PRIVATE += -licui18n -licuuc -licudata
|
||||
}
|
||||
} else: win32 {
|
||||
SOURCES += tools/qcollator_win.cpp
|
||||
|
Loading…
Reference in New Issue
Block a user