mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-25 07:29:33 -05:00
Fixed compile of libbitdht on Windows
Enabled bitdht in RetroShare.pro and retroshare-nogui.pro too Fixed link of RetroShare on Windows -> added ws2_32 after bitdht, maybe someone has a better solution git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3335 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
627b0f88a2
commit
6000233267
@ -26,7 +26,9 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef WINDOWS_SYS
|
||||
#include <netinet/in.h>
|
||||
#endif
|
||||
|
||||
#include "util/rsthreads.h"
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
CONFIG += qt gui uic qrc resources uitools idle # bitdht blogs
|
||||
CONFIG += qt gui uic qrc resources uitools idle bitdht # blogs
|
||||
QT += network xml script opengl
|
||||
|
||||
TEMPLATE = app
|
||||
@ -88,7 +88,9 @@ win32 {
|
||||
LIBS += ../../libretroshare/src/lib/libretroshare.a
|
||||
LIBS += -L"../../../../lib"
|
||||
LIBS += -lssl -lcrypto -lgpgme -lpthreadGC2d -lminiupnpc -lz
|
||||
LIBS += -lws2_32 -luuid -lole32 -liphlpapi -lcrypt32-cygwin -lgdi32
|
||||
# added after bitdht
|
||||
# LIBS += -lws2_32
|
||||
LIBS += -luuid -lole32 -liphlpapi -lcrypt32-cygwin -lgdi32
|
||||
LIBS += -lole32 -lwinmm
|
||||
RC_FILE = gui/images/retroshare_win.rc
|
||||
|
||||
@ -124,6 +126,11 @@ bitdht {
|
||||
LIBS += ../../libbitdht/src/lib/libbitdht.a
|
||||
}
|
||||
|
||||
win32 {
|
||||
# must be added after bitdht
|
||||
LIBS += -lws2_32
|
||||
}
|
||||
|
||||
DEPENDPATH += . \
|
||||
rsiface \
|
||||
control \
|
||||
|
@ -1,5 +1,6 @@
|
||||
TEMPLATE = app
|
||||
TARGET = retroshare-nogui
|
||||
CONFIG += bitdht
|
||||
|
||||
################################# Linux ##########################################
|
||||
linux-* {
|
||||
@ -55,7 +56,9 @@ win32 {
|
||||
LIBS += ../../libretroshare/src/lib/libretroshare.a
|
||||
LIBS += -L"../../../../lib" -lssl -lcrypto -lpthreadGC2d -lminiupnpc -lz
|
||||
LIBS += -lssl -lcrypto -lgpgme -lpthreadGC2d -lminiupnpc -lz
|
||||
LIBS += -lws2_32 -luuid -lole32 -liphlpapi -lcrypt32-cygwin -lgdi32
|
||||
# added after bitdht
|
||||
# LIBS += -lws2_32
|
||||
LIBS += -luuid -lole32 -liphlpapi -lcrypt32-cygwin -lgdi32
|
||||
LIBS += -lole32 -lwinmm
|
||||
|
||||
RC_FILE = resources/retroshare_win.rc
|
||||
@ -78,6 +81,12 @@ macx {
|
||||
bitdht {
|
||||
LIBS += ../../libbitdht/src/lib/libbitdht.a
|
||||
}
|
||||
|
||||
win32 {
|
||||
# must be added after bitdht
|
||||
LIBS += -lws2_32
|
||||
}
|
||||
|
||||
DEPENDPATH += ../../libretroshare/src
|
||||
|
||||
INCLUDEPATH += . ../../libretroshare/src
|
||||
|
Loading…
Reference in New Issue
Block a user