meson: fix Haiku EGL build; no dri requirement

Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8323>
This commit is contained in:
X512 2021-01-04 22:13:09 -06:00 committed by Alexander von Gluck IV
parent 759f9b9874
commit 99616fe799

View File

@ -432,7 +432,7 @@ if _egl == 'auto'
with_dri and with_shared_glapi
)
elif _egl == 'enabled'
if not with_dri
if not with_dri and not with_platform_haiku
error('EGL requires dri')
elif not with_shared_glapi
error('EGL requires shared-glapi')