From c0f94ec58c03fbf92b7d07646b2c87e01e0229a9 Mon Sep 17 00:00:00 2001 From: Srivats P Date: Thu, 7 Dec 2017 19:04:18 +0530 Subject: [PATCH] Use static linking on win32 --- client/ostinato.pro | 1 + server/drone.pro | 1 + 2 files changed, 2 insertions(+) diff --git a/client/ostinato.pro b/client/ostinato.pro index 800f46c..67da357 100644 --- a/client/ostinato.pro +++ b/client/ostinato.pro @@ -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 diff --git a/server/drone.pro b/server/drone.pro index 376790a..63827b1 100644 --- a/server/drone.pro +++ b/server/drone.pro @@ -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