From bfa2426bc2e94a41d6803ed5b7dfc35bb52dec13 Mon Sep 17 00:00:00 2001 From: lotodore Date: Sun, 9 Sep 2007 09:43:51 +0000 Subject: [PATCH] Fixed compiling on mingw. With mingw, boost needs to be patched. See http://lists.boost.org/Archives/boost/2007/06/124040.php Hope this is fixed in the next release of boost. --- pokerth_game.pro | 3 +++ pokerth_server.pro | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/pokerth_game.pro b/pokerth_game.pro index c3a5b0b6..fa0a204d 100644 --- a/pokerth_game.pro +++ b/pokerth_game.pro @@ -225,6 +225,9 @@ win32{ exists( ../boost/stage/lib/libboost_thread-mgw34-mt-1_34_1.a ){ LIBS += -lboost_thread-mgw34-mt-1_34_1 } + exists( ../boost/stage/lib/libboost_filesystem-mgw34-mt-1_34_1.a ){ + LIBS += -lboost_filesystem-mgw34-mt-1_34_1 + } RC_FILE = pokerth.rc } !win32{ diff --git a/pokerth_server.pro b/pokerth_server.pro index d626e744..d9618c50 100644 --- a/pokerth_server.pro +++ b/pokerth_server.pro @@ -100,10 +100,14 @@ win32{ #LIBPATH += Debug/lib LIBS += -lpokerth_lib + LIBS += -lssleay32MT LIBS += -lgdi32 -lcomdlg32 -loleaut32 -limm32 -lwinmm -lwinspool -lole32 -luuid -luser32 -lmsimg32 -lshell32 -lkernel32 -lws2_32 -ladvapi32 exists( ../boost/stage/lib/libboost_thread-mgw34-mt-1_34_1.a ){ LIBS += -lboost_thread-mgw34-mt-1_34_1 } + exists( ../boost/stage/lib/libboost_filesystem-mgw34-mt-1_34_1.a ){ + LIBS += -lboost_filesystem-mgw34-mt-1_34_1 + } } !win32{ DEPENDPATH += src/net/linux/ src/core/linux