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:
Gleb Popov 2019-11-09 23:03:38 +04:00 committed by Wim Taymans
parent 68e94a2e7e
commit fd937fa378
12 changed files with 26 additions and 17 deletions

View file

@ -8,7 +8,7 @@ spa_support_lib = shared_library('spa-support',
spa_support_sources,
c_args : [ '-D_GNU_SOURCE' ],
include_directories : [ spa_inc ],
dependencies : [ pthread_lib ],
dependencies : [ pthread_lib, epoll_shim_dep ],
install : true,
install_dir : '@0@/spa/support'.format(get_option('libdir')))
@ -35,6 +35,6 @@ spa_dbus_sources = ['dbus.c']
spa_dbus_lib = shared_library('spa-dbus',
spa_dbus_sources,
include_directories : [ spa_inc],
dependencies : dbus_dep,
dependencies : [dbus_dep, epoll_shim_dep],
install : true,
install_dir : '@0@/spa/support'.format(get_option('libdir')))