summaryrefslogtreecommitdiff
path: root/src/ppp
diff options
context:
space:
mode:
authorIñigo Martínez <inigomartinez@gmail.com>2019-09-09 11:40:11 +0200
committerThomas Haller <thaller@redhat.com>2019-10-01 09:49:33 +0200
commitf427f4771e4a500933ed3065a9789ce8bd0b6938 (patch)
treea56e094e91fb4c0882d48a0d32d7718bb57490da /src/ppp
parentad4834009b2e520303a2483d23084c37f07ace93 (diff)
downloadNetworkManager-f427f4771e4a500933ed3065a9789ce8bd0b6938.tar.gz
meson: Improve the libnm-core build file
The `libnm-core` build file has been improved by applying a set of changes: - Indentation has been fixed to be consistent. - Library variable names have been changed to `lib{name}` pattern following their filename pattern. - `shared` prefix has been removed from all variables using it. - Dependencies have been reviewed to store the necessary data. - The use of the libraries and dependencies created in this file has been reviewed through the entire source code. This has required the addition or the removal of different libraries and dependencies in different targets. - Some files used directly with the `files` function have been moved to their nearest path build file because meson stores their full path seamessly and they can be used anywhere later.
Diffstat (limited to 'src/ppp')
-rw-r--r--src/ppp/meson.build8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/ppp/meson.build b/src/ppp/meson.build
index eeba278954..3cfbd6018b 100644
--- a/src/ppp/meson.build
+++ b/src/ppp/meson.build
@@ -21,17 +21,13 @@ nm_pppd_plugin = shared_module(
name = 'nm-ppp-plugin'
-deps = [
- daemon_nm_default_dep,
- nm_dep,
-]
-
linker_script = join_paths(meson.current_source_dir(), 'nm-ppp-plugin.ver')
core_plugins += shared_module(
name,
sources: 'nm-ppp-manager.c',
- dependencies: deps,
+ dependencies: daemon_nm_default_dep,
+ c_args: daemon_c_flags,
link_args: [
'-Wl,--version-script,@0@'.format(linker_script),
],