aboutsummaryrefslogtreecommitdiff
path: root/block/meson.build
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2024-05-24 11:21:35 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2024-05-25 13:28:02 +0200
commitae9433fb1140f40143d877623b3c0f030d96a99f (patch)
treeb9c61dba1fa79021894661be84523169957eaed3 /block/meson.build
parent61306156d976b1235e26dc1658ccaae2170ce185 (diff)
meson: do not query modules before they are processed
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'block/meson.build')
-rw-r--r--block/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/meson.build b/block/meson.build
index 8993055c75..158dc3b89d 100644
--- a/block/meson.build
+++ b/block/meson.build
@@ -119,7 +119,7 @@ foreach m : [
module_ss = ss.source_set()
module_ss.add(when: m[0], if_true: m[2])
if enable_modules
- modsrc += module_ss.all_sources()
+ modsrc += m[2]
endif
block_modules += {m[1] : module_ss}
endif