meson: Avoid the use of unnecessary array

The linker flags used when building `libnm_wwan` target uses an
array even when it only uses one value.

When using only one value the array is unnecessary so it has been
removed.
This commit is contained in:
Iñigo Martínez 2019-09-11 08:07:57 +02:00 committed by Thomas Haller
parent dababfa59e
commit c4dc02c9bd

View file

@ -22,9 +22,7 @@ libnm_wwan = shared_module(
sources: sources,
dependencies: deps,
c_args: daemon_c_flags,
link_args: [
'-Wl,--version-script,@0@'.format(linker_script),
],
link_args: '-Wl,--version-script,@0@'.format(linker_script),
link_depends: linker_script,
install: true,
install_dir: nm_plugindir,