From e8a85ba818a82d8c5acacc53dfc4fdfff573ae90 Mon Sep 17 00:00:00 2001 From: Olivier Fourdan Date: Thu, 1 Aug 2019 13:28:48 +0200 Subject: [PATCH] meson: Build miext/sync for Xwayland When using the Meson build system, miext/sync would be build only for dri3. As a result, when building with Meson without DRI3 enabled, Xwayland would fail to link because `miSyncShmScreenInit()` is nowhere to be found. Make sure to build miext/sync for either DRI3 or Xwayland. Signed-off-by: Olivier Fourdan --- miext/sync/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/miext/sync/meson.build b/miext/sync/meson.build index 8b7ee4dba..182a4aef4 100644 --- a/miext/sync/meson.build +++ b/miext/sync/meson.build @@ -10,7 +10,7 @@ hdrs_miext_sync = [ 'misyncstr.h', ] -if build_dri3 +if build_dri3 or build_xwayland srcs_miext_sync += 'misyncshm.c' endif