Added "QMAKE_LFLAGS += -Wl,--start-group" to pluigns for Windows compile.

This commit is contained in:
thunder2 2015-09-03 16:24:57 +02:00
parent b1b2de617a
commit 9bbdefa48a
2 changed files with 4 additions and 2 deletions

View File

@ -28,6 +28,9 @@ win32 {
QMAKE_CFLAGS += -Wextra
QMAKE_CXXFLAGS += -Wextra
# solve linker warnings because of the order of the libraries
QMAKE_LFLAGS += -Wl,--start-group
OBJECTS_DIR = temp/obj
MOC_DIR = temp/moc
RCC_DIR = temp/qrc

View File

@ -92,8 +92,7 @@ linux-* {
win32 {
DEFINES += CURL_STATICLIB LIBXML_STATIC LIBXSLT_STATIC LIBEXSLT_STATIC
# Change order of the libraries
LIBS = -lcurl -lxml2 -lz -lxslt -lws2_32 -lwldap32 -lssl -lcrypto -lgdi32 -lwsock32 $${LIBS}
LIBS += -lcurl -lxml2 -lz -lxslt -lws2_32 -lwldap32 -lssl -lcrypto
}
openbsd-* {