mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-10-29 05:40:16 -04:00
build: fix build and provide compat for OpenBSD
- wayland-egl-abi-check: try to use llvm-nm first instead of BSD nm (incompatible options) - avoid forcing _POSIX_C_SOURCE=200809L (SOCK_CLOEXEC become available) - epoll(7) is provided by a userspace wrapper around kqueue(2) as FreeBSD - when using SO_PEERCRED, the struct to use is `struct sockpeercred` instead of `struct ucred` on OpenBSD - provide a compatibility layer for count_open_fds() using sysctl(2) as FreeBSD Signed-off-by: Sebastien Marie <semarie@online.fr>
This commit is contained in:
parent
791912c678
commit
d80bce5f1a
5 changed files with 41 additions and 3 deletions
|
|
@ -13,7 +13,7 @@ if get_option('tests')
|
|||
wayland_egl_abi_check = executable('wayland-egl-abi-check', 'wayland-egl-abi-check.c')
|
||||
test('wayland-egl abi check', wayland_egl_abi_check)
|
||||
|
||||
nm_path = find_program('nm').full_path()
|
||||
nm_path = find_program(['llvm-nm', 'nm']).full_path()
|
||||
|
||||
test(
|
||||
'wayland-egl symbols check',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue