summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2011-06-01 20:09:15 +0200
committerJon Bergli Heier <snakebite@jvnv.net>2011-06-01 20:09:15 +0200
commit8b7e1b871e0895890257d6045e13b8fc22902a4c (patch)
treec6c6360680b8ed385a43ba9b42502041c834062e /SConstruct
parentffc7ece6c77bc7f4f0287db4b7fa2192c53b25fb (diff)
Define _WIN32_WINNT for mingw32 builds.
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct1
1 files changed, 1 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index 644578f..0036308 100644
--- a/SConstruct
+++ b/SConstruct
@@ -16,6 +16,7 @@ if GetOption('mingw32'):
env.Append(LIBS = ['CEGUIOpenGLRenderer', 'CEGUIBase', 'CEGUITGAImageCodec', 'CEGUITinyXMLParser', 'CEGUIFalagardWRBase', 'CEGUISILLYImageCodec',
'SDL_image', 'ftgl', 'freetype-s', 'z', 'pcre', 'opengl32', 'glu32', 'winmm', 'wsock32', 'ws2_32', 'mingw32', 'SDLmain', 'SDL', 'jpeg', 'noise',
'lua', 'tolua++_Static', 'boost_filesystem-mt-s', 'boost_system-mt-s'])
+ env.Append(CPPFLAGS = ['-D_WIN32_WINNT'])
env.Append(LINKFLAGS = ['-static-libgcc', '-static-libstdc++'])
env['CXX'] = 'i486-mingw32-g++'
else: