egl: replace MESA_EGL_NO_X11_HEADERS hack with upstream EGL_NO_X11
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
diff --git a/meson.build b/meson.build
index bce17a7..1c14f4d 100644
--- a/meson.build
+++ b/meson.build
@@ -761,8 +761,8 @@
endif
endif
else
- pre_args += '-DMESA_EGL_NO_X11_HEADERS'
- gl_pkgconfig_c_flags += '-DMESA_EGL_NO_X11_HEADERS'
+ pre_args += '-DEGL_NO_X11'
+ gl_pkgconfig_c_flags += '-DEGL_NO_X11'
endif
if with_platform_drm
if with_egl and not with_gbm