meson: fix Haiku EGL build; no dri requirement
authorX512 <danger_mail@list.ru>
Tue, 5 Jan 2021 04:13:09 +0000 (22:13 -0600)
committerAlexander von Gluck IV <kallisti5@unixzen.com>
Sun, 10 Jan 2021 02:51:17 +0000 (20:51 -0600)
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8323>

meson.build

index 719da78..932eb13 100644 (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')