meson: also merge declarations of fuzzers with other executables
This commit is contained in:
@@ -63,6 +63,14 @@ executables += [
|
||||
threads,
|
||||
],
|
||||
},
|
||||
fuzz_template + {
|
||||
'sources' : [
|
||||
files('fuzz-systemctl-parse-argv.c'),
|
||||
systemctl_sources,
|
||||
],
|
||||
'link_with' : systemctl_link_with,
|
||||
'c_args' : ['-DFUZZ_SYSTEMCTL_PARSE_ARGV'],
|
||||
},
|
||||
]
|
||||
|
||||
foreach alias : (['halt', 'poweroff', 'reboot', 'shutdown'] +
|
||||
@@ -71,14 +79,3 @@ foreach alias : (['halt', 'poweroff', 'reboot', 'shutdown'] +
|
||||
bindir / 'systemctl',
|
||||
sbindir / alias)
|
||||
endforeach
|
||||
|
||||
fuzzers += [
|
||||
{
|
||||
'sources' : [
|
||||
files('fuzz-systemctl-parse-argv.c'),
|
||||
systemctl_sources,
|
||||
],
|
||||
'link_with' : systemctl_link_with,
|
||||
'c_args' : '-DFUZZ_SYSTEMCTL_PARSE_ARGV',
|
||||
},
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user