summaryrefslogtreecommitdiff
path: root/src/gallium/winsys/gdi/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/winsys/gdi/SConscript')
-rw-r--r--src/gallium/winsys/gdi/SConscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/winsys/gdi/SConscript b/src/gallium/winsys/gdi/SConscript
index 72b5df8ca24..42290d7603e 100644
--- a/src/gallium/winsys/gdi/SConscript
+++ b/src/gallium/winsys/gdi/SConscript
@@ -21,7 +21,7 @@ if env['platform'] == 'windows':
'gdi_softpipe_winsys.c',
]
- if env['toolchain'] == 'crossmingw':
+ if env['gcc']:
sources += ['#src/gallium/state_trackers/wgl/opengl32.mingw.def']
else:
sources += ['#src/gallium/state_trackers/wgl/opengl32.def']