pro files patch for BSD (thx jbriz)

This commit is contained in:
doitux
2008-05-30 18:26:01 +00:00
parent 9276df9127
commit d59860b69d
2 changed files with 19 additions and 3 deletions
+10 -2
View File
@@ -347,13 +347,21 @@ unix: !mac{
libSDL_mixer, libSDL --> http://www.libsdl.org/")
}
UNAME = $$system(uname -s)
BSD = $$find(UNAME, "BSD")
LIBS += -lpokerth_lib
LIBS += $$BOOST_LIBS
LIBS += -lgnutls-openssl -lgcrypt -lSDL_mixer -lcurl -lz
LIBS += -lSDL_mixer -lcurl
!isEmpty( BSD ) {
LIBS += -lcrypto
} else {
LIBS += -lgnutls-openssl -lgcrypt
}
TARGETDEPS += ./lib/libpokerth_lib.a
##### My release static libs
#LIBS += -lgcrypt_static -lgpg-error_static -lgnutls-openssl_static -lgnutls_static -lSDL_mixer_static -lSDL -lmikmod -lcurl -lz
#LIBS += -lgcrypt_static -lgpg-error_static -lgnutls-openssl_static -lgnutls_static -lSDL_mixer_static -lSDL -lmikmod -lcurl
#### INSTALL ####
+9 -1
View File
@@ -203,9 +203,17 @@ unix : !mac {
libboost (version >= 1.34.1) --> http://www.boost.org/")
}
UNAME = $$system(uname -s)
BSD = $$find(UNAME, "BSD")
LIBS += -lpokerth_lib
LIBS += $$BOOST_LIBS
LIBS += -lgnutls-openssl -lgcrypt -lcurl
LIBS += -lcurl
!isEmpty( BSD ) {
LIBS += -lcrypto -liconv
} else {
LIBS += -lgnutls-openssl -lgcrypt
}
TARGETDEPS += ./lib/libpokerth_lib.a