meson: only build vl_winsys_dri.c when x11 platform is used
authorLukas Rusak <lorusak@gmail.com>
Fri, 1 Jun 2018 21:09:42 +0000 (14:09 -0700)
committerDylan Baker <dylan@pnwbakers.com>
Thu, 14 Jun 2018 17:34:51 +0000 (10:34 -0700)
commit1d92d6486a7685762f480fb33893b3c3db1fd21a
tree86d8cd3daaa42d04773890d240f7a9bb792126f3
parentb9e6438adf69e859fac8af585cabf14ec18e22ed
meson: only build vl_winsys_dri.c when x11 platform is used

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>
          ^~~~~~~~~~~~~~~~

Fixes: b1b65397d0c4978e36a84c0a1c98a4bd6cb9588e
       ("meson: Build gallium auxiliary")
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
src/gallium/auxiliary/meson.build