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>
(cherry picked from commit 7bcf2bcafc)

Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1702>
This commit is contained in:
Olivier Fourdan 2024-08-13 10:29:33 +02:00
parent b701969331
commit 98fb1d48c4

View file

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