mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
links with wsock32 only if the jsonapi is built
This commit is contained in:
parent
458a8b0878
commit
dc926d30c8
@ -57,6 +57,9 @@ rs_jsonapi {
|
||||
QMAKE_LIBDIR *= $$clean_path($${RESTBED_BUILD_PATH}/library/)
|
||||
# Using sLibs would fail as librestbed.a is generated at compile-time
|
||||
LIBS *= -L$$clean_path($${RESTBED_BUILD_PATH}/library/) -lrestbed
|
||||
win32-g++ {
|
||||
LIBS += -lwsock32
|
||||
}
|
||||
}
|
||||
|
||||
linux-* {
|
||||
|
@ -170,7 +170,7 @@ win32-g++ {
|
||||
|
||||
OBJECTS_DIR = temp/obj
|
||||
|
||||
dLib = ws2_32 wsock32 gdi32 uuid ole32 iphlpapi crypt32 winmm
|
||||
dLib = ws2_32 gdi32 uuid ole32 iphlpapi crypt32 winmm
|
||||
LIBS *= $$linkDynamicLibs(dLib)
|
||||
|
||||
RC_FILE = gui/images/retroshare_win.rc
|
||||
|
Loading…
Reference in New Issue
Block a user