[Mesa-dev] [PATCH] meson: only build vl_winsys_dri.c when x11 platform is used

Lukas Rusak lorusak at gmail.com
Thu Jun 14 17:25:43 UTC 2018


any updates here?

On Fri, Jun 1, 2018 at 2:09 PM Lukas Rusak <lorusak at gmail.com> wrote:

> This seems to have been missed in the move from autotools
>
> This fixes the following build issue:
>
> ../src/gallium/auxiliary/vl/vl_winsys_dri.c:34:10: fatal error:
> X11/Xlib-xcb.h: No such file or directory
>  #include <X11/Xlib-xcb.h>
>           ^~~~~~~~~~~~~~~~
> ---
>  src/gallium/auxiliary/meson.build | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/gallium/auxiliary/meson.build
> b/src/gallium/auxiliary/meson.build
> index 584cbe4509..857001e12c 100644
> --- a/src/gallium/auxiliary/meson.build
> +++ b/src/gallium/auxiliary/meson.build
> @@ -453,7 +453,7 @@ files_libgalliumvl = files(
>  )
>
>  files_libgalliumvlwinsys = files('vl/vl_winsys.h')
> -if with_dri2
> +if with_dri2 and with_platform_x11
>    files_libgalliumvlwinsys += files('vl/vl_winsys_dri.c')
>    if with_dri3
>      files_libgalliumvlwinsys += files('vl/vl_winsys_dri3.c')
> --
> 2.17.0
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180614/5fb4db24/attachment.html>


More information about the mesa-dev mailing list