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

Dylan Baker dylan at pnwbakers.com
Thu Jun 14 18:03:19 UTC 2018


Quoting Lukas Rusak (2018-06-14 10:25:43)
> 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
> 
> 

Sorry about that, I've pushed this with my rb and a fixes tag, so it should be
in 18.1.3

Dylan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: signature
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180614/2faa69db/attachment-0001.sig>


More information about the mesa-dev mailing list