aboutsummaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2021-07-21 18:51:57 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2021-07-22 14:44:47 +0200
commitac34711171f0b350d9125c46691744405b6a54ce (patch)
tree118f8aef6d0448e7d691cdad9b239f4d9a658459 /meson.build
parentc10852afb6a2b84bcc3bffce40c1c0509d6c8e64 (diff)
downloadqemu-ac34711171f0b350d9125c46691744405b6a54ce.zip
qemu-ac34711171f0b350d9125c46691744405b6a54ce.tar.gz
qemu-ac34711171f0b350d9125c46691744405b6a54ce.tar.bz2
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>
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/meson.build b/meson.build
index 6e4d2d8..eb85fe8 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'