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: b1b65397d0
("meson: Build gallium auxiliary")
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
This commit is contained in:
@@ -484,7 +484,7 @@ files_libgalliumvl = files(
|
||||
|
||||
vlwinsys_deps = []
|
||||
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
|
||||
vlwinsys_deps += [
|
||||
|
||||
Reference in New Issue
Block a user