From a8f8ec7e7df0cb43039b41c8fb03a5473b04d428 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Thu, 25 Sep 2025 17:40:20 -0700 Subject: [PATCH] meson: fix build if shmfence is enabled but dri3 & xwayland are not glamor_sync.c calls miSyncShmScreenInit if HAVE_XSHMFENCE is defined, but it was only being built if either dri3 or xwayland were enabled. Signed-off-by: Alan Coopersmith Part-of: --- 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 0892fd807..431032711 100644 --- a/miext/sync/meson.build +++ b/miext/sync/meson.build @@ -10,7 +10,7 @@ hdrs_miext_sync = [ 'misyncstr.h', ] -if build_dri3 or build_xwayland +if build_dri3 or build_xwayland or xshmfence_dep.found() srcs_miext_sync += 'misyncshm.c' endif