[Mesa-dev] [PATCH] meson: only build vl_winsys_dri.c when x11 platform is used
Lukas Rusak
lorusak at gmail.com
Fri Jun 1 21:09:42 UTC 2018
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
More information about the mesa-dev
mailing list