From f9d924fc803a11d6928e34bb4182bc7c8ee076a9 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: (cherry picked from commit a692ded3d9fbf22092439eb1e61e80e5b449bee0) --- meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/meson.build b/meson.build index 4ad0def11..7f8952fa3 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