meson: Use dicts for fuzzer definitions

This commit is contained in:
Jan Janssen
2023-02-21 15:10:26 +01:00
parent a9a7153cd2
commit 2ed35b2f3e
12 changed files with 205 additions and 142 deletions
+8 -4
View File
@@ -48,8 +48,12 @@ else
endif
fuzzers += [
[files('fuzz-systemctl-parse-argv.c') +
systemctl_sources,
systemctl_link_with,
[], [], ['-DFUZZ_SYSTEMCTL_PARSE_ARGV']]
{
'sources' : [
files('fuzz-systemctl-parse-argv.c'),
systemctl_sources,
],
'link_with' : systemctl_link_with,
'c_args' : '-DFUZZ_SYSTEMCTL_PARSE_ARGV',
},
]