From 7888be6eb3f7fdad33baa1d750c36000faab6af9 Mon Sep 17 00:00:00 2001 From: Evgeniy Khramtsov Date: Fri, 23 Apr 2021 20:52:24 +0300 Subject: [PATCH] alsa: depend on epoll-shim and libinotify on FreeBSD FreeBSD does not have epoll or inotify in the base. They are implemented in third-party libraries. --- spa/plugins/alsa/meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spa/plugins/alsa/meson.build b/spa/plugins/alsa/meson.build index bc960b2bd..38de50285 100644 --- a/spa/plugins/alsa/meson.build +++ b/spa/plugins/alsa/meson.build @@ -16,7 +16,7 @@ spa_alsa = shared_library( [ spa_alsa_sources ], c_args : acp_c_args, include_directories : [spa_inc, configinc], - dependencies : [ alsa_dep, libudev_dep, mathlib ], + dependencies : [ alsa_dep, libudev_dep, mathlib, epoll_shim_dep, libinotify_dep ], link_with : [ acp_lib ], install : true, install_dir : spa_plugindir / 'alsa' @@ -38,7 +38,7 @@ executable('spa-acp-tool', executable('test-timer', [ 'test-timer.c' ], - dependencies : [ alsa_dep, mathlib ], + dependencies : [ alsa_dep, mathlib, epoll_shim_dep ], install : false, )