meson: add the library needed for the FreeBSD support

This commit is contained in:
Baptiste Daroussin 2021-09-30 17:31:12 +02:00
parent 2e6847077e
commit 6a9f66b837

View file

@ -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',