build/meson: Explicitly depend on generated binding header

fixes header not being generated on alpine
This commit is contained in:
Christoph Haag 2021-02-15 21:43:32 +01:00
parent b77630ba57
commit def0bef533
2 changed files with 2 additions and 1 deletions

View file

@ -35,5 +35,6 @@ lib_aux_generated_bindings = static_library(
aux_generated_bindings = declare_dependency(
include_directories: aux_include,
sources: [generated_bindings_h],
link_with: lib_aux_generated_bindings,
)

View file

@ -14,7 +14,7 @@ lib_st_ovrd = static_library(
st_include, # Sigh debian meson requires this.
xrt_include,
],
dependencies: aux_util,
dependencies: [aux_util, aux_generated_bindings],
c_args: compile_args,
cpp_args: compile_args,
)