From ebc593d92c8703c5870eeeede08ea0636da6f2de Mon Sep 17 00:00:00 2001 From: Olivier Fourdan Date: Tue, 13 Aug 2024 10:22:35 +0200 Subject: [PATCH] build: Fix DRI3 on DragonFly and OpenBSD Commit 96bdc156 added a check for to enable DRI3. DragonFly and OpenBSD however rely on epoll-shim for , so that must be added as a dependency for the check. Fixes: commit 96bdc156 - xwayland: Do not enable DRI3 without eventfd Suggested-by: Jan Beich Signed-off-by: Olivier Fourdan Part-of: --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index c2f5525bf..85fe567c5 100644 --- a/meson.build +++ b/meson.build @@ -496,7 +496,7 @@ else epoll_dep = [] endif -have_eventfd = cc.has_header('sys/eventfd.h') +have_eventfd = cc.has_header('sys/eventfd.h', dependencies: epoll_dep) if get_option('dri3') == 'auto' build_dri3 = dri3proto_dep.found() and xshmfence_dep.found() and libdrm_dep.found() and have_eventfd else