summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIñigo Martínez <inigomartinez@gmail.com>2019-09-03 09:48:59 +0200
committerThomas Haller <thaller@redhat.com>2019-10-01 09:49:33 +0200
commitc74e428342c0219bb54d6cffe24bd0423bcda532 (patch)
tree853edd875a07ce3eaaca5210bbdea37ba09af6b2 /src
parent31a2710f113ba8b335cdb3cc972b1e7cb91e40d6 (diff)
downloadNetworkManager-c74e428342c0219bb54d6cffe24bd0423bcda532.tar.gz
meson: Improve the shared build file
The `shared` build file has been improved by applying a set of changes: - Indentation has been fixed to be consistent. - Unused libraries and dependencies have been removed. - Dependencies have been reviewed to store the necessary data. - Set of objects used in targets have been grouped together. - Header files have been removed from sources lists as it's unnecessary. - Library variable names have been changed to `lib{name}` pattern following their filename pattern. - `shared` prefix has been removed from all variables using it. - `version_header` its related configuration `version_conf` variables have been renamed to `nm_version_macro*` following its input and final file names.
Diffstat (limited to 'src')
-rw-r--r--src/meson.build5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/meson.build b/src/meson.build
index 84bad00407..ac03a568f5 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -52,7 +52,8 @@ deps = [
libsystemd_dep,
libudev_dep,
libnm_core_dep,
- shared_n_dhcp4_dep,
+ libn_dhcp4_dep,
+ libnm_udev_aux_dep,
]
if enable_wext
@@ -155,7 +156,7 @@ nm_deps = [
libndp_dep,
libudev_dep,
libnm_core_dep,
- shared_n_acd_dep,
+ libn_acd_dep,
logind_dep,
]