meson: Improve nm-initrd-generator target

The set of link targets used when building `nm-initrd-generator`
target has been grouped together.
This commit is contained in:
Iñigo Martínez 2019-09-11 08:25:18 +02:00 committed by Thomas Haller
parent c4dc02c9bd
commit 4e5b1e257e

View file

@ -13,12 +13,17 @@ libnmi_core = static_library(
name = 'nm-initrd-generator'
links = [
libnetwork_manager_base,
libnmi_core,
]
executable(
name,
name + '.c',
dependencies: daemon_nm_default_dep,
c_args: daemon_c_flags,
link_with: [libnetwork_manager_base, libnmi_core],
link_with: links,
link_args: ldflags_linker_script_binary,
link_depends: linker_script_binary,
install: true,