diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/targets/libgl-gdi/SConscript | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/targets/libgl-gdi/SConscript b/src/gallium/targets/libgl-gdi/SConscript index 49462a8e309..f6c8e8de78e 100644 --- a/src/gallium/targets/libgl-gdi/SConscript +++ b/src/gallium/targets/libgl-gdi/SConscript @@ -27,7 +27,9 @@ if env['llvm']: env.Append(CPPDEFINES = 'HAVE_LLVMPIPE') drivers += [llvmpipe] -if env['gcc']: +if env['gcc'] and 'w64' not in env['CC'].split('-'): + # DEF parser in certain versions of MinGW is busted, as does not behave as + # MSVC. mingw-w64 works fine. sources += ['#src/gallium/state_trackers/wgl/opengl32.mingw.def'] else: sources += ['#src/gallium/state_trackers/wgl/opengl32.def'] |