scons: Use -static-libstdc++ on 32bits builds w/ Mingw-w64 too.
This commit is contained in:
parent
3276c3d42b
commit
97213fd741
|
@ -540,7 +540,7 @@ def generate(env):
|
||||||
if env['platform'] == 'windows':
|
if env['platform'] == 'windows':
|
||||||
# Avoid depending on gcc runtime DLLs
|
# Avoid depending on gcc runtime DLLs
|
||||||
linkflags += ['-static-libgcc']
|
linkflags += ['-static-libgcc']
|
||||||
if env['machine'] == 'x86_64':
|
if 'w64' in env['CC'].split('-'):
|
||||||
linkflags += ['-static-libstdc++']
|
linkflags += ['-static-libstdc++']
|
||||||
# Handle the @xx symbol munging of DLL exports
|
# Handle the @xx symbol munging of DLL exports
|
||||||
shlinkflags += ['-Wl,--enable-stdcall-fixup']
|
shlinkflags += ['-Wl,--enable-stdcall-fixup']
|
||||||
|
|
Loading…
Reference in New Issue