Skip to content

meson: properly set the partial_dependency(es)

Emil Velikov requested to merge xexaxo/waffle:for-1.8/partial-deps into maint-1.8

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 (cherry picked from commit 48f18f09dc7c68f41ce3c0a956dc7be4f2f6ed23)

Merge request reports