aboutsummaryrefslogtreecommitdiffstats
path: root/src/meson.build
diff options
context:
space:
mode:
authorAlex Richardson <Alexander.Richardson@cl.cam.ac.uk>2021-03-15 22:18:14 +0000
committerAlexander Richardson <alexander.richardson@cl.cam.ac.uk>2021-09-10 11:35:54 +0000
commitc65f852fc8b2742e4944f58f9bd0f1e0b44b983a (patch)
tree88ff4448fda881ba29f915cc89fa8921823254eb /src/meson.build
parentos-wrappers-test: Handle fcntl() being declared as a macro (diff)
downloadwayland-c65f852fc8b2742e4944f58f9bd0f1e0b44b983a.tar
wayland-c65f852fc8b2742e4944f58f9bd0f1e0b44b983a.tar.gz
wayland-c65f852fc8b2742e4944f58f9bd0f1e0b44b983a.tar.bz2
wayland-c65f852fc8b2742e4944f58f9bd0f1e0b44b983a.tar.lz
wayland-c65f852fc8b2742e4944f58f9bd0f1e0b44b983a.tar.xz
wayland-c65f852fc8b2742e4944f58f9bd0f1e0b44b983a.tar.zst
wayland-c65f852fc8b2742e4944f58f9bd0f1e0b44b983a.zip
Use epoll-shim to emulate epoll(7) on FreeBSD
FreeBSD does not provide epoll(7) and instead requires an external library, epoll-shim, that implements epoll() using kqueue(2) Co-authored-by: Jan Beich <jbeich@FreeBSD.org> Signed-off-by: Alex Richardson <Alexander.Richardson@cl.cam.ac.uk>
Diffstat (limited to 'src/meson.build')
-rw-r--r--src/meson.build6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/meson.build b/src/meson.build
index ec00d81..a5d7410 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -89,7 +89,7 @@ if get_option('libraries')
'connection.c',
'wayland-os.c'
],
- dependencies: [ ffi_dep, rt_dep ]
+ dependencies: [ epoll_dep, ffi_dep, rt_dep ]
)
wayland_private_dep = declare_dependency(
@@ -163,6 +163,7 @@ if get_option('libraries')
],
version: '0.1.0',
dependencies: [
+ epoll_dep,
ffi_dep,
wayland_private_dep,
wayland_util_dep,
@@ -177,7 +178,7 @@ if get_option('libraries')
wayland_server_dep = declare_dependency(
link_with: wayland_server,
include_directories: [ root_inc, include_directories('.') ],
- dependencies: [ ffi_dep, mathlib_dep, threads_dep ],
+ dependencies: [ epoll_dep, ffi_dep, mathlib_dep, threads_dep ],
sources: [
wayland_server_protocol_core_h,
wayland_server_protocol_h
@@ -206,6 +207,7 @@ if get_option('libraries')
],
version: '0.3.0',
dependencies: [
+ epoll_dep,
ffi_dep,
wayland_private_dep,
wayland_util_dep,