summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Rusak <lorusak@gmail.com>2018-06-01 14:09:42 -0700
committerDylan Baker <dylan@pnwbakers.com>2018-06-15 13:55:04 -0700
commit87453e9fe1686b676cb853b6eb9654d25d177521 (patch)
treee1dd8056f4e06dade65e5e3e90e268b044e4c9da
parent156d0230a58400f195f46180da9b448a2a7a40f1 (diff)
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> (cherry picked from commit 1d92d6486a7685762f480fb33893b3c3db1fd21a)
-rw-r--r--src/gallium/auxiliary/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/meson.build b/src/gallium/auxiliary/meson.build
index 92cfb8f7af..1f7548142b 100644
--- a/src/gallium/auxiliary/meson.build
+++ b/src/gallium/auxiliary/meson.build
@@ -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 += [