mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-11 11:50:29 +01:00
meson: Avoid the creation of an extra variable
An extra variable is used for sources of `libnm-settings-plugin-ifupdown` module. However, it only contains one source file and using it directly avoiding the creation of the extra variable doesn't hurt readibility.
This commit is contained in:
parent
146348199e
commit
509706b62b
1 changed files with 1 additions and 5 deletions
|
|
@ -10,13 +10,9 @@ libnms_ifupdown_core = static_library(
|
|||
c_args: daemon_c_flags,
|
||||
)
|
||||
|
||||
sources = files(
|
||||
'nms-ifupdown-plugin.c',
|
||||
)
|
||||
|
||||
libnm_settings_plugin_ifupdown = shared_module(
|
||||
'nm-settings-plugin-ifupdown',
|
||||
sources: sources,
|
||||
sources: 'nms-ifupdown-plugin.c',
|
||||
dependencies: daemon_nm_default_dep,
|
||||
c_args: daemon_c_flags,
|
||||
link_with: libnms_ifupdown_core,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue