Mesa (master): meson: fix Haiku EGL build; no dri requirement

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sun Jan 10 03:13:33 UTC 2021


Module: Mesa
Branch: master
Commit: 99616fe7993df37ee7a678efe60166f3b3cc2bfb
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=99616fe7993df37ee7a678efe60166f3b3cc2bfb

Author: X512 <danger_mail at list.ru>
Date:   Mon Jan  4 22:13:09 2021 -0600

meson: fix Haiku EGL build; no dri requirement

Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8323>

---

 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meson.build b/meson.build
index 719da783c32..932eb136681 100644
--- a/meson.build
+++ b/meson.build
@@ -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')



More information about the mesa-commit mailing list