diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2011-06-01 20:09:15 +0200 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2011-06-01 20:09:15 +0200 |
commit | 8b7e1b871e0895890257d6045e13b8fc22902a4c (patch) | |
tree | c6c6360680b8ed385a43ba9b42502041c834062e /SConstruct | |
parent | ffc7ece6c77bc7f4f0287db4b7fa2192c53b25fb (diff) |
Define _WIN32_WINNT for mingw32 builds.
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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: |