From d15d1f58f7ef96231d5c863240507834475a99f6 Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Thu, 23 Jun 2022 14:49:47 +0200 Subject: [PATCH] meson: declare CFLAGS dependencies for xcb-stuff on FreeBSD we need append to the lookup path a non default path to find headers --- meson.build | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index ef28c58..74915df 100644 --- a/meson.build +++ b/meson.build @@ -90,7 +90,11 @@ if backend_x11 c_args: xcb_errors.found() ? '-DHAVE_XCB_ERRORS' : [], pic: plugs_as_libs) - xcb_stuff = declare_dependency(link_with: xcb_stuff_lib) + xcb_stuff = declare_dependency( + link_with: xcb_stuff_lib, + dependencies: [xcb_aux, xcb_cursor, xcb_event, xcb_ewmh, xcb_randr, + xcb_render, xcb_errors], + ) install_headers('xcb.h', subdir: 'yambar') endif