diff --git a/pokerth_game.pro b/pokerth_game.pro index 73a5c681..a3b3c520 100644 --- a/pokerth_game.pro +++ b/pokerth_game.pro @@ -276,6 +276,10 @@ win32{ } unix: !mac{ + + LIBPATH += lib + LIBS += -lpokerth_lib + exists( /usr/lib/libboost_thread-mt.so ){ message("Found libboost_thread-mt") LIBS += -lboost_thread-mt @@ -318,8 +322,6 @@ unix: !mac{ } } - LIBPATH += lib - LIBS += -lpokerth_lib LIBS += -lcrypto -lSDL_mixer TARGETDEPS += ./lib/libpokerth_lib.a diff --git a/pokerth_server.pro b/pokerth_server.pro index d4ee9dfe..d5fba73d 100644 --- a/pokerth_server.pro +++ b/pokerth_server.pro @@ -145,6 +145,10 @@ win32 { } unix : !mac { + + LIBPATH += lib + LIBS += -lpokerth_lib + exists( /usr/lib/libboost_thread-mt.so ){ message("Found libboost_thread-mt") LIBS += -lboost_thread-mt @@ -186,8 +190,7 @@ unix : !mac { LIBS += -lboost_filesystem } } - LIBPATH += lib - LIBS += -lpokerth_lib + LIBS += -lcrypto TARGETDEPS += ./lib/libpokerth_lib.a