From 69b96e2c1b83061ae06c63d8bfc6276c1b8e850c Mon Sep 17 00:00:00 2001 From: thunder2 Date: Sat, 15 Jan 2022 18:38:24 +0100 Subject: [PATCH] Fixed linking of FriendServer with MSYS2 on Windows --- retroshare-friendserver/src/retroshare-friendserver.pro | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/retroshare-friendserver/src/retroshare-friendserver.pro b/retroshare-friendserver/src/retroshare-friendserver.pro index 79986b461..61c604e43 100644 --- a/retroshare-friendserver/src/retroshare-friendserver.pro +++ b/retroshare-friendserver/src/retroshare-friendserver.pro @@ -39,5 +39,12 @@ unix { INSTALLS += target } +################################# Windows ########################################## + +win32-g++|win32-clang-g++ { + dLib = ws2_32 iphlpapi crypt32 + LIBS *= $$linkDynamicLibs(dLib) +} + ################################### COMMON stuff ##################################