From e2de13c9b119746f75c4419e4a171c2309c63447 Mon Sep 17 00:00:00 2001 From: lotodore Date: Tue, 19 Oct 2010 15:58:09 +0000 Subject: [PATCH] Different configuration for cross compiler (windows). --- pokerth_game.pro | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/pokerth_game.pro b/pokerth_game.pro index c476347b..74d7fbb8 100644 --- a/pokerth_game.pro +++ b/pokerth_game.pro @@ -333,12 +333,22 @@ win32 { } LIBS += -lcurl LIBS += -lz - LIBS += -lboost_thread-mgw45-mt-1_44.dll - LIBS += -lboost_filesystem-mgw45-mt-1_44.dll - LIBS += -lboost_regex-mgw45-mt-1_44 - LIBS += -lboost_iostreams-mgw45-mt-1_44.dll - LIBS += -lboost_zlib-mgw45-mt-1_44.dll - LIBS += -lboost_system-mgw45-mt-1_44.dll + pkth_cross_win { + LIBS += -lboost_thread-mt + LIBS += -lboost_filesystem-mt + LIBS += -lboost_regex-mt + LIBS += -lboost_iostreams-mt + LIBS += -lboost_zlib-mt + LIBS += -lboost_system-mt + } + !pkth_cross_win { + LIBS += -lboost_thread-mgw45-mt-1_44.dll + LIBS += -lboost_filesystem-mgw45-mt-1_44.dll + LIBS += -lboost_regex-mgw45-mt-1_44 + LIBS += -lboost_iostreams-mgw45-mt-1_44.dll + LIBS += -lboost_zlib-mgw45-mt-1_44.dll + LIBS += -lboost_system-mgw45-mt-1_44.dll + } } LIBS += \ -lSDL_mixer \