diff --git a/pokerth_game.pro b/pokerth_game.pro index 4a8765c6..0d869011 100644 --- a/pokerth_game.pro +++ b/pokerth_game.pro @@ -381,11 +381,12 @@ unix : !mac { UNAME = $$system(uname -s) BSD = $$find(UNAME, "BSD") - + kFreeBSD = $$find(UNAME, "kFreeBSD") + LIBS += -lpokerth_lib LIBS += $$BOOST_LIBS LIBS += -lSDL_mixer -lcurl - !isEmpty( BSD ){ + !isEmpty( BSD ) && isEmpty( kFreeBSD ){ LIBS += -lcrypto } else { LIBS += -lgnutls-openssl -lgcrypt diff --git a/pokerth_server.pro b/pokerth_server.pro index 68c32ff6..6eef83e2 100644 --- a/pokerth_server.pro +++ b/pokerth_server.pro @@ -214,11 +214,12 @@ unix : !mac { UNAME = $$system(uname -s) BSD = $$find(UNAME, "BSD") + kFreeBSD = $$find(UNAME, "kFreeBSD") LIBS += -lpokerth_lib LIBS += $$BOOST_LIBS LIBS += -lcurl - !isEmpty( BSD ){ + !isEmpty( BSD ) && isEmpty( kFreeBSD ){ LIBS += -lcrypto -liconv } else { LIBS += -lgnutls-openssl -lgcrypt