From 6a9f66b837d0220e7c005d90f0c3fafa255aa3b1 Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Thu, 30 Sep 2021 17:31:12 +0200 Subject: [PATCH] meson: add the library needed for the FreeBSD support --- meson.build | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/meson.build b/meson.build index 08d21bc..1970ec4 100644 --- a/meson.build +++ b/meson.build @@ -43,7 +43,9 @@ endif # Common dependencies dl = cc.find_library('dl') m = cc.find_library('m') -threads = dependency('threads') +threads = [dependency('threads'), cc.find_library('stdthreads', required: false)] +libepoll = dependency('epoll-shim', required: false) +libinotify = dependency('libinotify', required: false) pixman = dependency('pixman-1') yaml = dependency('yaml-0.1') @@ -117,7 +119,7 @@ yambar = executable( 'tag.c', 'tag.h', 'yml.c', 'yml.h', version, - dependencies: [bar, pixman, yaml, threads, dl, tllist, fcft] + + dependencies: [bar, libepoll, libinotify, pixman, yaml, threads, dl, tllist, fcft] + decorations + particles + modules, c_args: [plugin_mpd_enabled? '-DPLUGIN_ENABLED_MPD':[]], build_rpath: '$ORIGIN/modules:$ORIGIN/decorations:$ORIGIN/particles',