From 9188d18a90c70ea28a0de713ac4f4a9b2ab5369d Mon Sep 17 00:00:00 2001 From: csoler Date: Sun, 8 Sep 2019 14:35:45 +0200 Subject: [PATCH] attempt to fix compilation on windows --- retroshare-service/src/retroshare-service.pro | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/retroshare-service/src/retroshare-service.pro b/retroshare-service/src/retroshare-service.pro index da61ce928..2353b1f14 100644 --- a/retroshare-service/src/retroshare-service.pro +++ b/retroshare-service/src/retroshare-service.pro @@ -97,11 +97,18 @@ win32-g++ { OBJECTS_DIR = temp/obj - dLib = ws2_32 gdi32 uuid ole32 iphlpapi crypt32 winmm - LIBS *= $$linkDynamicLibs(dLib) + dLib = ws2_32 gdi32 uuid ole32 iphlpapi crypt32 winmm + LIBS *= $$linkDynamicLibs(dLib) # export symbols for the plugins - LIBS += -Wl,--export-all-symbols,--out-implib,lib/libretroshare-gui.a + LIBS += -Wl,--export-all-symbols,--out-implib,lib/libretroshare-service.a + + # create lib directory + isEmpty(QMAKE_SH) { + QMAKE_PRE_LINK = $(CHK_DIR_EXISTS) lib $(MKDIR) lib + } else { + QMAKE_PRE_LINK = $(CHK_DIR_EXISTS) lib || $(MKDIR) lib + } }