build/meson: cleanup dependencies for libnm-systemd-shared

This commit is contained in:
Thomas Haller 2021-02-24 13:13:01 +01:00
parent a9540fb927
commit fd69080c9b
No known key found for this signature in database
GPG key ID: 29C2366E4DFC5728
9 changed files with 17 additions and 11 deletions

View file

@ -19,6 +19,7 @@ executable(
libnmi_core,
libnm_core_impl,
libnm_base,
libnm_systemd_shared,
libnm_log_core,
libnm_glib_aux,
libnm_std_aux,

View file

@ -76,7 +76,6 @@ libNetworkManagerBase = static_library(
dependencies: [
core_default_dep,
libnm_core_impl_dep,
libnm_systemd_shared_dep,
libnm_udev_aux_dep,
libsystemd_dep,
libudev_dep,

View file

@ -44,10 +44,9 @@ libnm_systemd_core = static_library(
],
dependencies: [
libnm_core_impl_dep,
libnm_systemd_shared_dep,
libnm_systemd_shared_dep_inc,
glib_dep,
],
link_with: libc_siphash,
)
libnm_systemd_core_dep = declare_dependency(
@ -57,7 +56,9 @@ libnm_systemd_core_dep = declare_dependency(
dependencies: [
glib_dep,
libnm_core_impl_dep,
libnm_systemd_shared_dep,
],
link_with: libnm_systemd_core,
link_with: [
libnm_systemd_shared,
libnm_systemd_core,
],
)

View file

@ -39,7 +39,10 @@ exe = executable(
],
dependencies: [
libnm_systemd_core_dep,
libnm_systemd_shared_dep,
],
link_with: [
libnm_systemd_shared,
libc_siphash,
],
)

View file

@ -90,6 +90,7 @@ libnm = shared_library(
libnm_client_impl,
libnm_core_impl,
libnm_base,
libnm_systemd_shared,
libnm_log_null,
libnm_glib_aux,
libnm_std_aux,

View file

@ -23,6 +23,7 @@ foreach test_unit: test_units
libnm_client_impl,
libnm_client_test,
libnm_base,
libnm_systemd_shared,
libnm_glib_aux,
libnm_std_aux,
libc_siphash,

View file

@ -109,7 +109,6 @@ libnm_core_impl = static_library(
],
dependencies: [
dl_dep,
libnm_systemd_shared_dep,
libnm_core_public_dep,
libnm_core_intern_dep,
uuid_dep,

View file

@ -30,7 +30,10 @@ foreach test_unit: test_units
libnm_core_impl_dep_link,
libnm_base_dep_link,
],
link_with: libnm_log_null,
link_with: [
libnm_log_null,
libnm_systemd_shared,
],
)
test(

View file

@ -54,12 +54,10 @@ libnm_systemd_shared = static_library(
dependencies: glib_dep,
)
libnm_systemd_shared_dep = declare_dependency(
libnm_systemd_shared_dep_inc = declare_dependency(
include_directories: include_directories(
'sd-adapt-shared',
'src/basic',
'src/shared',
),
dependencies: glib_dep,
link_with: libnm_systemd_shared,
)