From a692ded3d9fbf22092439eb1e61e80e5b449bee0 Mon Sep 17 00:00:00 2001 From: Olivier Fourdan Date: Thu, 25 Jan 2024 10:22:42 +0100 Subject: [PATCH] build: Xwayland with GLAMOR requires libxshmfence Without libxshmfence, Xwayland cannot build with GLAMOR support. Make sure to catch that requirement in meson rather than failing the build later. Signed-off-by: Olivier Fourdan Closes: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1626 Part-of: --- meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/meson.build b/meson.build index 83787b3ee..858d0de97 100644 --- a/meson.build +++ b/meson.build @@ -226,6 +226,7 @@ if (host_machine.system() != 'darwin' and ] if build_glamor + xwayland_dep += dependency('xshmfence', version: xshmfence_req, required: xwayland_required) xwayland_dep += dependency('libdrm', version: libdrm_req, required: xwayland_required) xwayland_dep += dependency('epoxy', required: xwayland_required) endif