mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-25 21:10:08 +01:00
build/meson: cleanup dependencies for libnm-systemd-shared
This commit is contained in:
parent
a9540fb927
commit
fd69080c9b
9 changed files with 17 additions and 11 deletions
|
|
@ -19,6 +19,7 @@ executable(
|
|||
libnmi_core,
|
||||
libnm_core_impl,
|
||||
libnm_base,
|
||||
libnm_systemd_shared,
|
||||
libnm_log_core,
|
||||
libnm_glib_aux,
|
||||
libnm_std_aux,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
],
|
||||
)
|
||||
|
|
|
|||
|
|
@ -39,7 +39,10 @@ exe = executable(
|
|||
],
|
||||
dependencies: [
|
||||
libnm_systemd_core_dep,
|
||||
libnm_systemd_shared_dep,
|
||||
],
|
||||
link_with: [
|
||||
libnm_systemd_shared,
|
||||
libc_siphash,
|
||||
],
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue