summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorHeiko Thiery <heiko.thiery@gmail.com>2020-10-23 22:39:35 +0200
committerHeiko Thiery <heiko.thiery@gmail.com>2020-10-26 15:44:34 +0100
commit526765ddfdfdc04b6e8797b836087b8022c187e0 (patch)
tree24be78517dce1e12ad93df1aab345126342d495d /meson.build
parentea0b03dff0344820d536190b2d2f5f35f85bbd5f (diff)
downloadweston-526765ddfdfdc04b6e8797b836087b8022c187e0.tar.gz
Add EGL_NO_PLATFORM_SPECIFIC_TYPES to avoid Xlib.h via EGL headers
See: https://github.com/KhronosGroup/EGL-Registry/pull/111 discussion. Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index cb1c6bb0..749d17bb 100644
--- a/meson.build
+++ b/meson.build
@@ -102,6 +102,7 @@ config_h.set('_GNU_SOURCE', '1')
config_h.set('_ALL_SOURCE', '1')
config_h.set('EGL_NO_X11', '1')
config_h.set('MESA_EGL_NO_X11_HEADERS', '1')
+config_h.set('EGL_NO_PLATFORM_SPECIFIC_TYPES', '1')
config_h.set_quoted('PACKAGE_STRING', 'weston @0@'.format(version_weston))
config_h.set_quoted('PACKAGE_VERSION', version_weston)