aboutsummaryrefslogtreecommitdiff
path: root/mesalib/scons
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/scons')
-rw-r--r--mesalib/scons/gallium.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesalib/scons/gallium.py b/mesalib/scons/gallium.py
index c3350b3ca..18be73f76 100644
--- a/mesalib/scons/gallium.py
+++ b/mesalib/scons/gallium.py
@@ -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']