Re: [Mesa-dev] [PATCH] meson: fix EGL/X11 build without GLX

2019-01-07 Thread Dylan Baker
Quoting Chia-I Wu (2019-01-07 12:54:19)
> dep_xcb and others were not set under this configuration.
> 
> Signed-off-by: Chia-I Wu 
> ---
>  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')
> -- 
> 2.20.1.97.g81188d93c3-goog
> 
> ___
> mesa-dev mailing list
> mesa-dev@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reviewed-by: Dylan Baker 


signature.asc
Description: signature
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [PATCH] meson: fix EGL/X11 build without GLX

2019-01-07 Thread Chia-I Wu
dep_xcb and others were not set under this configuration.

Signed-off-by: Chia-I Wu 
---
 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')
-- 
2.20.1.97.g81188d93c3-goog

___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev