diff options
author | Matthieu Herrb <matthieu@herrb.eu> | 2024-05-19 18:12:47 +0200 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2024-05-22 09:00:11 +0000 |
commit | 89c3f35d9277724b9816910bc72d73fa4e208f1b (patch) | |
tree | 2cd44446820f0a6cf49274e89742da0974185bc4 /present | |
parent | c5d152c176a482cee8852bdf86964efe54beec58 (diff) |
present: On *BSD, epoll-shim is needed to emulate eventfd()
Signed-off-by: Matthieu Herrb <matthieu@herrb.eu>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1559>
Diffstat (limited to 'present')
-rw-r--r-- | present/meson.build | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/present/meson.build b/present/meson.build index 1a74a9cbc..ec5d4cc6e 100644 --- a/present/meson.build +++ b/present/meson.build @@ -16,11 +16,18 @@ hdrs_present = [ 'presentext.h', ] +if host_machine.system() in ['freebsd', 'openbsd'] + epoll_dep = dependency('epoll-shim') +else + epoll_dep = [] +endif + libxserver_present = static_library('libxserver_present', srcs_present, include_directories: inc, dependencies: [ common_dep, + epoll_dep, dependency('presentproto', version: '>= 1.2') ], ) |