mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-10 10:30:19 +01:00
build/meson: cleanup dependencies for libnm-platform
This commit is contained in:
parent
08ce50c6d8
commit
bb4a10719c
4 changed files with 15 additions and 14 deletions
|
|
@ -18,6 +18,7 @@ executable(
|
|||
libNetworkManagerBase,
|
||||
libnmi_core,
|
||||
libnm_core_impl,
|
||||
libnm_platform,
|
||||
libnm_base,
|
||||
libnm_systemd_shared,
|
||||
libnm_log_core,
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@ core_default_dep = declare_dependency(
|
|||
dependencies: [
|
||||
libnm_core_public_dep,
|
||||
libnm_core_intern_dep,
|
||||
libnm_platform_dep,
|
||||
],
|
||||
)
|
||||
|
||||
|
|
@ -211,6 +210,7 @@ executable(
|
|||
link_with: [
|
||||
libNetworkManagerBase,
|
||||
libnm_systemd_core,
|
||||
libnm_platform,
|
||||
libnm_systemd_shared,
|
||||
libnm_base,
|
||||
libnm_udev_aux,
|
||||
|
|
@ -250,8 +250,9 @@ if enable_tests
|
|||
dependencies: core_default_dep,
|
||||
link_with: [
|
||||
libNetworkManagerTest,
|
||||
libnm_base,
|
||||
libnm_core_impl,
|
||||
libnm_platform,
|
||||
libnm_base,
|
||||
libnm_systemd_shared,
|
||||
libnm_udev_aux,
|
||||
libnm_log_core,
|
||||
|
|
@ -300,6 +301,7 @@ NetworkManager_all_sym = executable(
|
|||
libNetworkManager,
|
||||
libNetworkManagerBase,
|
||||
libnm_core_impl,
|
||||
libnm_platform,
|
||||
libnm_base,
|
||||
libnm_log_core,
|
||||
libnm_udev_aux,
|
||||
|
|
@ -337,6 +339,7 @@ NetworkManager = executable(
|
|||
libNetworkManager,
|
||||
libNetworkManagerBase,
|
||||
libnm_core_impl,
|
||||
libnm_platform,
|
||||
libnm_base,
|
||||
libnm_udev_aux,
|
||||
libnm_log_core,
|
||||
|
|
|
|||
|
|
@ -2,23 +2,17 @@
|
|||
|
||||
libnm_platform = static_library(
|
||||
'nm-platform',
|
||||
include_directories: [
|
||||
src_inc,
|
||||
top_inc,
|
||||
],
|
||||
sources: [
|
||||
'nm-netlink.c',
|
||||
'nm-platform-utils.c',
|
||||
'nmp-netns.c',
|
||||
],
|
||||
dependencies: [
|
||||
glib_dep,
|
||||
],
|
||||
)
|
||||
|
||||
libnm_platform_dep = declare_dependency(
|
||||
include_directories: [
|
||||
src_inc,
|
||||
top_inc,
|
||||
],
|
||||
dependencies: [
|
||||
glib_dep,
|
||||
libudev_dep,
|
||||
],
|
||||
link_with: libnm_platform,
|
||||
)
|
||||
|
|
|
|||
|
|
@ -4,14 +4,17 @@ exe = executable(
|
|||
'test-nm-platform',
|
||||
'test-nm-platform.c',
|
||||
dependencies: [
|
||||
libnm_platform_dep,
|
||||
glib_dep,
|
||||
libudev_dep,
|
||||
],
|
||||
include_directories: [
|
||||
src_inc,
|
||||
top_inc,
|
||||
],
|
||||
link_with: [
|
||||
libnm_platform,
|
||||
libnm_base,
|
||||
libnm_udev_aux,
|
||||
libnm_log_core,
|
||||
libnm_glib_aux,
|
||||
libnm_std_aux,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue