build: Add epoll to Xwayland for DragonFly and OpenBSD

DragonFly and OpenBSD rely on epoll-shim for <sys/eventfd>, add a
optional dependency to build Xwayland.

Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1642>
This commit is contained in:
Olivier Fourdan 2024-08-13 10:29:33 +02:00 committed by Marge Bot
parent 673b56e61c
commit 7bcf2bcafc

View File

@ -139,6 +139,7 @@ xwayland_server = executable(
include_directories: wayland_inc, include_directories: wayland_inc,
dependencies: [ dependencies: [
common_dep, common_dep,
epoll_dep,
xwayland_dep, xwayland_dep,
xwaylandproto_dep, xwaylandproto_dep,
], ],