Commit a68ba5e0 authored by Jose Fonseca's avatar Jose Fonseca
Browse files

libgl-gdi: Fix mingw-w64 build.

Mingw-w64 actually seems to be closer to MSVC in terms of .DEF parsing.
parent ec759b37
......@@ -27,7 +27,9 @@ if env['llvm']:
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']
sources += ['#src/gallium/state_trackers/wgl/opengl32.def']
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment