build/meson: cleanup dependencies for libnm-core-impl

This commit is contained in:
Thomas Haller
2021-02-24 14:26:46 +01:00
parent e52d59f6c2
commit e2004d2849
7 changed files with 14 additions and 22 deletions

View File

@@ -72,7 +72,7 @@ libNetworkManagerBase = static_library(
) + platform_wifi_wext_source,
dependencies: [
core_default_dep,
libnm_core_impl_dep,
libnm_core_public_dep,
libsystemd_dep,
libudev_dep,
],
@@ -80,7 +80,6 @@ libNetworkManagerBase = static_library(
nm_deps = [
libnm_core_public_dep,
libnm_core_impl_dep,
core_default_dep,
dl_dep,
libndp_dep,
@@ -199,7 +198,6 @@ executable(
'nm-iface-helper.c',
dependencies: [
core_default_dep,
libnm_core_impl_dep_link,
glib_dep,
libudev_dep,
libndp_dep,
@@ -207,6 +205,7 @@ executable(
],
link_with: [
libNetworkManagerBase,
libnm_core_impl,
libnm_systemd_core,
libnm_platform,
libnm_systemd_shared,

View File

@@ -4,11 +4,16 @@ nm_pppd_plugin = shared_module(
'nm-pppd-plugin',
name_prefix: '',
sources: 'nm-pppd-plugin.c',
include_directories: [
src_inc,
top_inc,
],
dependencies: [
libnm_core_impl_dep_link,
libnm_core_public_dep,
glib_dep,
],
link_with: [
libnm_core_impl,
libnm_glib_aux,
libnm_std_aux,
libc_siphash,

View File

@@ -43,7 +43,7 @@ libnm_systemd_core = static_library(
src_core_inc,
],
dependencies: [
libnm_core_impl_dep,
libnm_core_public_dep,
libnm_systemd_shared_dep_inc,
glib_dep,
],
@@ -55,9 +55,9 @@ libnm_systemd_core_dep = declare_dependency(
],
dependencies: [
glib_dep,
libnm_core_impl_dep,
],
link_with: [
libnm_core_impl,
libnm_systemd_shared,
libnm_systemd_core,
],

View File

@@ -38,6 +38,7 @@ exe = executable(
src_core_inc,
],
dependencies: [
libnm_core_public_dep,
libnm_systemd_core_dep,
],
link_with: [

View File

@@ -15,7 +15,7 @@ foreach test_unit: test_units
libnm_client_public_inc,
],
dependencies: [
libnm_core_impl_dep_link,
libnm_core_public_dep,
libnm_nm_default_dep,
glib_dep,
libudev_dep,
@@ -23,6 +23,7 @@ foreach test_unit: test_units
link_with: [
libnm_client_impl,
libnm_client_test,
libnm_core_impl,
libnm_base,
libnm_udev_aux,
libnm_systemd_shared,

View File

@@ -117,17 +117,3 @@ libnm_core_impl = static_library(
libnm_core_aux_intern,
],
)
libnm_core_impl_dep = declare_dependency(
dependencies: [
libnm_core_public_dep,
glib_dep,
],
)
libnm_core_impl_dep_link = declare_dependency(
dependencies: [
libnm_core_impl_dep,
],
link_with: libnm_core_impl,
)

View File

@@ -26,9 +26,9 @@ foreach test_unit: test_units
],
dependencies: [
libnm_core_public_dep,
libnm_core_impl_dep_link,
],
link_with: [
libnm_core_impl,
libnm_base,
libnm_log_null,
libnm_systemd_shared,