mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-05 09:00:08 +01:00
egl: error out during setup if the configuration is invalid
If EGL is built, it needs a driver; if we don't abort setup here,
the compilation fails with:
ld: error: undefined symbol: _eglDriver
See #11397 or #11956 for instance.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31870>
This commit is contained in:
parent
16aec27515
commit
09a2de2a51
1 changed files with 3 additions and 0 deletions
|
|
@ -141,6 +141,9 @@ elif with_platform_windows
|
|||
files_egl += files('drivers/wgl/egl_wgl.c')
|
||||
incs_for_egl += [inc_wgl, inc_gallium, inc_gallium_aux, inc_mesa, inc_mapi]
|
||||
link_for_egl += libgallium_wgl
|
||||
|
||||
else
|
||||
error('No EGL driver available.')
|
||||
endif
|
||||
|
||||
if cc.has_function('mincore')
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue