mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-15 08:56:38 -05:00
On FreeBSD, add dependency on epoll-shim library.
FreeBSD doesn't provide timerfd and eventfd functions. These are implemented in 3rd party library called epoll-shim. Link targets requiring these functions to this library.
This commit is contained in:
parent
68e94a2e7e
commit
fd937fa378
12 changed files with 26 additions and 17 deletions
|
|
@ -207,8 +207,12 @@ if get_option('gstreamer')
|
|||
dependency('gstreamer-allocators-1.0'),]
|
||||
endif
|
||||
|
||||
subdir('spa')
|
||||
# On FreeBSD, epoll-shim library is required for eventfd() and timerfd()
|
||||
epoll_shim_dep = (build_machine.system() == 'freebsd'
|
||||
? dependency('epoll-shim', required: true)
|
||||
: dependency('', required: false))
|
||||
|
||||
subdir('spa')
|
||||
subdir('src')
|
||||
|
||||
if get_option('pipewire-jack')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue