mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 02:10:11 +01:00
libgl-gdi: Fix mingw-w64 build.
Mingw-w64 actually seems to be closer to MSVC in terms of .DEF parsing.
This commit is contained in:
parent
ec759b3755
commit
a68ba5e0f0
1 changed files with 3 additions and 1 deletions
|
|
@ -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']
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue