mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-25 06:40:58 -04:00
Added "QMAKE_LFLAGS += -Wl,--start-group" to pluigns for Windows compile.
This commit is contained in:
parent
b1b2de617a
commit
9bbdefa48a
2 changed files with 4 additions and 2 deletions
|
@ -28,6 +28,9 @@ win32 {
|
||||||
QMAKE_CFLAGS += -Wextra
|
QMAKE_CFLAGS += -Wextra
|
||||||
QMAKE_CXXFLAGS += -Wextra
|
QMAKE_CXXFLAGS += -Wextra
|
||||||
|
|
||||||
|
# solve linker warnings because of the order of the libraries
|
||||||
|
QMAKE_LFLAGS += -Wl,--start-group
|
||||||
|
|
||||||
OBJECTS_DIR = temp/obj
|
OBJECTS_DIR = temp/obj
|
||||||
MOC_DIR = temp/moc
|
MOC_DIR = temp/moc
|
||||||
RCC_DIR = temp/qrc
|
RCC_DIR = temp/qrc
|
||||||
|
|
|
@ -92,8 +92,7 @@ linux-* {
|
||||||
win32 {
|
win32 {
|
||||||
DEFINES += CURL_STATICLIB LIBXML_STATIC LIBXSLT_STATIC LIBEXSLT_STATIC
|
DEFINES += CURL_STATICLIB LIBXML_STATIC LIBXSLT_STATIC LIBEXSLT_STATIC
|
||||||
|
|
||||||
# Change order of the libraries
|
LIBS += -lcurl -lxml2 -lz -lxslt -lws2_32 -lwldap32 -lssl -lcrypto
|
||||||
LIBS = -lcurl -lxml2 -lz -lxslt -lws2_32 -lwldap32 -lssl -lcrypto -lgdi32 -lwsock32 $${LIBS}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
openbsd-* {
|
openbsd-* {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue