diff --git a/retroshare-nogui/src/retroshare-nogui.pro b/retroshare-nogui/src/retroshare-nogui.pro index 2d98f3c4e..71f46e57a 100644 --- a/retroshare-nogui/src/retroshare-nogui.pro +++ b/retroshare-nogui/src/retroshare-nogui.pro @@ -161,13 +161,18 @@ sshserver { win32 { DEFINES *= LIBSSH_STATIC + LIBSSH_DIR = ../../../libssh-0.5.2 } INCLUDEPATH += $$LIBSSH_DIR/include/ - LIBS += $$LIBSSH_DIR/build/src/libssh.a - LIBS += $$LIBSSH_DIR/build/src/threads/libssh_threads.a - #LIBS += -lssh - #LIBS += -lssh_threads + + win32 { + LIBS += -lssh + LIBS += -lssh_threads + } else { + LIBS += $$LIBSSH_DIR/build/src/libssh.a + LIBS += $$LIBSSH_DIR/build/src/threads/libssh_threads.a + } HEADERS += ssh/rssshd.h SOURCES += ssh/rssshd.cc