Mesa (master): meson: fix EGL/X11 build without GLX
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue Jan 8 19:34:55 UTC 2019
Module: Mesa
Branch: master
Commit: 6eeb1fe4911ff202618c70f0cc49349c28e75376
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6eeb1fe4911ff202618c70f0cc49349c28e75376
Author: Chia-I Wu <olvaffe at gmail.com>
Date: Mon Jan 7 12:54:19 2019 -0800
meson: fix EGL/X11 build without GLX
dep_xcb and others were not set under this configuration.
Signed-off-by: Chia-I Wu <olvaffe at gmail.com>
Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
---
meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meson.build b/meson.build
index 709f77a9c7..601085e055 100644
--- a/meson.build
+++ b/meson.build
@@ -1361,7 +1361,7 @@ if with_platform_x11
dep_xfixes = dependency('xfixes')
dep_xcb_glx = dependency('xcb-glx', version : '>= 1.8.1')
endif
- if (with_any_vk or with_glx == 'dri' or
+ if (with_any_vk or with_glx == 'dri' or with_egl or
(with_gallium_vdpau or with_gallium_xvmc or with_gallium_va or
with_gallium_omx != 'disabled'))
dep_xcb = dependency('xcb')
More information about the mesa-commit
mailing list