scons: Use -static-libstdc++ on 32bits builds w/ Mingw-w64 too.

This commit is contained in:
José Fonseca 2011-11-03 09:58:52 +00:00
parent 3276c3d42b
commit 97213fd741
1 changed files with 1 additions and 1 deletions

View File

@ -540,7 +540,7 @@ def generate(env):
if env['platform'] == 'windows':
# Avoid depending on gcc runtime DLLs
linkflags += ['-static-libgcc']
if env['machine'] == 'x86_64':
if 'w64' in env['CC'].split('-'):
linkflags += ['-static-libstdc++']
# Handle the @xx symbol munging of DLL exports
shlinkflags += ['-Wl,--enable-stdcall-fixup']