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>
(cherry picked from commit 7bcf2bcafc)
This commit is contained in:
Olivier Fourdan 2024-08-13 10:29:33 +02:00 committed by Alan Coopersmith
parent 274c600599
commit fd90e04744

View file

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