Use static linking on win32

This commit is contained in:
Srivats P 2017-12-07 19:04:18 +05:30
parent 847af21c43
commit c0f94ec58c
2 changed files with 2 additions and 0 deletions

View File

@ -6,6 +6,7 @@ macx:ICON = icons/logo.icns
QT += network script xml
INCLUDEPATH += "../rpc/" "../common/"
win32 {
QMAKE_LFLAGS += -static
CONFIG(debug, debug|release) {
LIBS += -L"../common/debug" -lostprotogui -lostproto
LIBS += -L"../rpc/debug" -lpbrpc

View File

@ -8,6 +8,7 @@ linux*:system(grep -q IFLA_STATS64 /usr/include/linux/if_link.h): \
INCLUDEPATH += "../rpc"
win32 {
CONFIG += console
QMAKE_LFLAGS += -static
LIBS += -lwpcap -lpacket
CONFIG(debug, debug|release) {
LIBS += -L"../common/debug" -lostproto