Use static linking on win32
This commit is contained in:
parent
847af21c43
commit
c0f94ec58c
@ -6,6 +6,7 @@ macx:ICON = icons/logo.icns
|
|||||||
QT += network script xml
|
QT += network script xml
|
||||||
INCLUDEPATH += "../rpc/" "../common/"
|
INCLUDEPATH += "../rpc/" "../common/"
|
||||||
win32 {
|
win32 {
|
||||||
|
QMAKE_LFLAGS += -static
|
||||||
CONFIG(debug, debug|release) {
|
CONFIG(debug, debug|release) {
|
||||||
LIBS += -L"../common/debug" -lostprotogui -lostproto
|
LIBS += -L"../common/debug" -lostprotogui -lostproto
|
||||||
LIBS += -L"../rpc/debug" -lpbrpc
|
LIBS += -L"../rpc/debug" -lpbrpc
|
||||||
|
@ -8,6 +8,7 @@ linux*:system(grep -q IFLA_STATS64 /usr/include/linux/if_link.h): \
|
|||||||
INCLUDEPATH += "../rpc"
|
INCLUDEPATH += "../rpc"
|
||||||
win32 {
|
win32 {
|
||||||
CONFIG += console
|
CONFIG += console
|
||||||
|
QMAKE_LFLAGS += -static
|
||||||
LIBS += -lwpcap -lpacket
|
LIBS += -lwpcap -lpacket
|
||||||
CONFIG(debug, debug|release) {
|
CONFIG(debug, debug|release) {
|
||||||
LIBS += -L"../common/debug" -lostproto
|
LIBS += -L"../common/debug" -lostproto
|
||||||
|
Loading…
Reference in New Issue
Block a user