From: Dylan Baker <dy...@pnwbakers.com>

---
 meson.build | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/meson.build b/meson.build
index 53013e47ec4..c24225c0297 100644
--- a/meson.build
+++ b/meson.build
@@ -261,7 +261,10 @@ endif
 
 _egl = get_option('egl')
 if _egl == 'auto'
-  with_egl = with_dri and with_shared_glapi and egl_native_platform != ''
+  with_egl = (
+    with_dri and with_shared_glapi and egl_native_platform != '' and not
+    ['darwin', 'windows', 'cygwin'].contains(host_machine.system())
+  )
 elif _egl == 'true'
   if not with_dri
     error('EGL requires dri')
-- 
2.15.0

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to