meson: fix dependencies for modinfo

modinfo runs the preprocessor and therefore needs all generated input files
to be there.  The "depends" clause does not work in Meson 0.55.3, so for
now use "input".

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
Paolo Bonzini 2021-07-21 18:51:57 +02:00
parent c10852afb6
commit ac34711171
1 changed files with 2 additions and 2 deletions

View File

@ -2335,9 +2335,9 @@ foreach d, list : modules
# https://github.com/mesonbuild/meson/pull/8900
modinfo_files += custom_target(d + '-' + m + '.modinfo',
output: d + '-' + m + '.modinfo',
input: module_ss.sources(),
input: module_ss.sources() + genh,
capture: true,
command: [modinfo_collect, '@INPUT@'])
command: [modinfo_collect, module_ss.sources()])
endif
else
if d == 'block'