mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-02 09:01:39 -05: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
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue