mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-31 23:00:11 +01:00
build/meson: cleanup dependencies for libnm-udev-aux
This commit is contained in:
parent
fd69080c9b
commit
cac8e895b6
5 changed files with 24 additions and 12 deletions
|
|
@ -21,6 +21,7 @@ executable(
|
|||
libnm_base,
|
||||
libnm_systemd_shared,
|
||||
libnm_log_core,
|
||||
libnm_udev_aux,
|
||||
libnm_glib_aux,
|
||||
libnm_std_aux,
|
||||
libc_siphash,
|
||||
|
|
|
|||
|
|
@ -76,7 +76,6 @@ libNetworkManagerBase = static_library(
|
|||
dependencies: [
|
||||
core_default_dep,
|
||||
libnm_core_impl_dep,
|
||||
libnm_udev_aux_dep,
|
||||
libsystemd_dep,
|
||||
libudev_dep,
|
||||
],
|
||||
|
|
@ -203,17 +202,18 @@ executable(
|
|||
'nm-iface-helper.c',
|
||||
dependencies: [
|
||||
core_default_dep,
|
||||
dl_dep,
|
||||
libndp_dep,
|
||||
libudev_dep,
|
||||
libnm_core_impl_dep_link,
|
||||
glib_dep,
|
||||
libudev_dep,
|
||||
libndp_dep,
|
||||
dl_dep,
|
||||
],
|
||||
link_with: [
|
||||
libNetworkManagerBase,
|
||||
libnm_systemd_core,
|
||||
libnm_systemd_shared,
|
||||
libnm_base,
|
||||
libnm_udev_aux,
|
||||
libnm_log_core,
|
||||
libnm_glib_aux,
|
||||
libnm_std_aux,
|
||||
|
|
@ -252,6 +252,8 @@ if enable_tests
|
|||
libNetworkManagerTest,
|
||||
libnm_base,
|
||||
libnm_core_impl,
|
||||
libnm_systemd_shared,
|
||||
libnm_udev_aux,
|
||||
libnm_log_core,
|
||||
libnm_glib_aux,
|
||||
libnm_std_aux,
|
||||
|
|
@ -289,7 +291,10 @@ subdir('settings/plugins')
|
|||
NetworkManager_all_sym = executable(
|
||||
'NetworkManager-all-sym',
|
||||
'main.c',
|
||||
dependencies: nm_deps,
|
||||
dependencies: [
|
||||
nm_deps,
|
||||
libudev_dep,
|
||||
],
|
||||
link_args: '-Wl,--no-gc-sections',
|
||||
link_whole: [
|
||||
libNetworkManager,
|
||||
|
|
@ -297,6 +302,7 @@ NetworkManager_all_sym = executable(
|
|||
libnm_core_impl,
|
||||
libnm_base,
|
||||
libnm_log_core,
|
||||
libnm_udev_aux,
|
||||
libnm_glib_aux,
|
||||
libnm_std_aux,
|
||||
libn_acd,
|
||||
|
|
@ -323,12 +329,16 @@ ver_script = custom_target(
|
|||
NetworkManager = executable(
|
||||
'NetworkManager',
|
||||
'main.c',
|
||||
dependencies: nm_deps,
|
||||
dependencies: [
|
||||
nm_deps,
|
||||
libudev_dep,
|
||||
],
|
||||
link_with: [
|
||||
libNetworkManager,
|
||||
libNetworkManagerBase,
|
||||
libnm_core_impl,
|
||||
libnm_base,
|
||||
libnm_udev_aux,
|
||||
libnm_log_core,
|
||||
libnm_glib_aux,
|
||||
libnm_std_aux,
|
||||
|
|
|
|||
|
|
@ -74,7 +74,6 @@ libnm_client_impl = static_library(
|
|||
libnmdbus_dep,
|
||||
libnm_core_aux_intern_dep,
|
||||
libnm_nm_default_dep,
|
||||
libnm_udev_aux_dep,
|
||||
libudev_dep,
|
||||
],
|
||||
link_with: libnm_log_null,
|
||||
|
|
@ -85,11 +84,15 @@ linker_script = join_paths(meson.current_source_dir(), 'libnm.ver')
|
|||
libnm = shared_library(
|
||||
'nm',
|
||||
version: libnm_version,
|
||||
dependencies: libnm_nm_default_dep,
|
||||
dependencies: [
|
||||
libnm_nm_default_dep,
|
||||
libudev_dep,
|
||||
],
|
||||
link_whole: [
|
||||
libnm_client_impl,
|
||||
libnm_core_impl,
|
||||
libnm_base,
|
||||
libnm_udev_aux,
|
||||
libnm_systemd_shared,
|
||||
libnm_log_null,
|
||||
libnm_glib_aux,
|
||||
|
|
|
|||
|
|
@ -18,11 +18,13 @@ foreach test_unit: test_units
|
|||
libnm_core_impl_dep_link,
|
||||
libnm_nm_default_dep,
|
||||
glib_dep,
|
||||
libudev_dep,
|
||||
],
|
||||
link_with: [
|
||||
libnm_client_impl,
|
||||
libnm_client_test,
|
||||
libnm_base,
|
||||
libnm_udev_aux,
|
||||
libnm_systemd_shared,
|
||||
libnm_glib_aux,
|
||||
libnm_std_aux,
|
||||
|
|
|
|||
|
|
@ -12,7 +12,3 @@ libnm_udev_aux = static_library(
|
|||
libudev_dep,
|
||||
],
|
||||
)
|
||||
|
||||
libnm_udev_aux_dep = declare_dependency(
|
||||
link_with: libnm_udev_aux,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue