[Mesa-dev] [PATCH 2/7] meson: Don't build egl on macOS or Windows
Jon Turney
jon.turney at dronecode.org.uk
Mon Nov 27 13:58:29 UTC 2017
From: Dylan Baker <dylan at 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
More information about the mesa-dev
mailing list