build/meson: cleanup libnm-glib-aux dependencies

Avoid dependencies but explicitly link the static library where it is
used.

This also fixes that we linked libnm-log-core into
libnm-settings-plugin-ifcfg-rh.so, which duplicated the symbols
while it should used them from NetworkManager.
This commit is contained in:
Thomas Haller
2021-02-24 11:52:51 +01:00
parent 2665b91288
commit 309dccf5f9
23 changed files with 131 additions and 60 deletions

View File

@@ -14,8 +14,5 @@ libnm_log_core = static_library(
)
libnm_log_core_dep = declare_dependency(
dependencies: [
libnm_glib_aux_dep_link,
],
link_with: libnm_log_core,
)