From: Paolo Bonzini Date: Wed, 21 Jul 2021 16:51:57 +0000 (+0200) Subject: meson: fix dependencies for modinfo X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=ac34711171f0b350d9125c46691744405b6a54ce;p=qemu.git 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 --- diff --git a/meson.build b/meson.build index 6e4d2d8034..eb85fe8e44 100644 --- a/meson.build +++ b/meson.build @@ -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'