Skip to content

meson: properly set the partial_dependency(es)

Emil Velikov requested to merge xexaxo/waffle:partial-deps into master

Our current loop creates a local dependency, only to discard it. Instead it should be overriding the proper dependency variables, via set_variable()

As-is we end-up linking against the libraries, where some are discarded by the linker, since meson uses `-Wl,--as-needed' by default.

With this fixed, issues like 2c335972 become apparent, instead of being masked out.

Fixes: b6d94483 ("meson: use include/compile_args dependencies") Signed-off-by: Emil Velikov emil.l.velikov@gmail.com

Merge request reports