From 3fb574ddfa2634add7857459a80d82a883a8b9d9 Mon Sep 17 00:00:00 2001 From: doitux Date: Fri, 22 Jun 2007 07:44:20 +0000 Subject: [PATCH] --- pokerth.pro | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/pokerth.pro b/pokerth.pro index dc008819..f5d89087 100755 --- a/pokerth.pro +++ b/pokerth.pro @@ -267,9 +267,17 @@ win32{ } unix{ - LIBS += -lboost_thread-mt -lcrypto -lSDL_mixer - ## My release static libs - #LIBS += -lboost_thread-mt -lcrypto -lSDL_mixer -lSDL -lmikmod + exists( /usr/lib/libboost_thread-mt.so ) { + message("Found libboost_thread-mt") + LIBS += -lboost_thread-mt + } + exists( /usr/lib/libboost_thread.so ) { + message("Found libboost_thread") + LIBS += -lboost_thread + } + LIBS += -lcrypto -lSDL_mixer + ## My release static libs + #LIBS += -lcrypto -lSDL_mixer -lSDL -lmikmod } macx{