mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-10-29 05:40:16 -04:00
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>
This commit is contained in:
parent
8ec25be6db
commit
c65f852fc8
3 changed files with 15 additions and 4 deletions
|
|
@ -9,6 +9,7 @@ test_runner = static_library(
|
|||
dependencies: [
|
||||
cc.find_library('dl', required: false),
|
||||
dependency('threads'),
|
||||
epoll_dep,
|
||||
ffi_dep,
|
||||
wayland_util_dep,
|
||||
wayland_private_dep,
|
||||
|
|
@ -154,7 +155,7 @@ tests = {
|
|||
|
||||
foreach test_name, test_extra_sources: tests
|
||||
test_sources = [ test_name + '.c' ] + test_extra_sources
|
||||
test_deps = [test_runner_dep]
|
||||
test_deps = [test_runner_dep, epoll_dep]
|
||||
bin = executable(test_name, test_sources, dependencies: test_deps)
|
||||
test(
|
||||
test_name,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue