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:
Iñigo Martínez
2019-09-11 09:10:21 +02:00
committed by Thomas Haller
parent 146348199e
commit 509706b62b

View File

@@ -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,