meson: fix EGL/X11 build without GLX
authorChia-I Wu <olvaffe@gmail.com>
Mon, 7 Jan 2019 20:54:19 +0000 (12:54 -0800)
committerChia-I Wu <olvaffe@gmail.com>
Tue, 8 Jan 2019 18:58:48 +0000 (10:58 -0800)
dep_xcb and others were not set under this configuration.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
meson.build

index 709f77a9c7a0924b10671cd95340258733210536..601085e05527ae565117b73410c6661dad2f21af 100644 (file)
@@ -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')