aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2020-09-14 15:42:20 +0200
committerGerd Hoffmann <kraxel@redhat.com>2020-09-15 14:11:49 +0200
commit3e292c51ff079258c40dae926f71252423cdcc98 (patch)
tree1553acfea5279dc9280821f86852172f57bdfde2
parente3624e8b1872185ff55a151b299a2cfdc3b42e78 (diff)
downloadqemu-3e292c51ff079258c40dae926f71252423cdcc98.zip
qemu-3e292c51ff079258c40dae926f71252423cdcc98.tar.gz
qemu-3e292c51ff079258c40dae926f71252423cdcc98.tar.bz2
meson: fix module config
Use all config symbols not only the host ones. Needed to make sure device configs like CONFIG_QXL are used for modules too. Suggested-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Message-id: 20200914134224.29769-3-kraxel@redhat.com
-rw-r--r--meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 690723b..bba766b 100644
--- a/meson.build
+++ b/meson.build
@@ -913,7 +913,7 @@ softmmu_mods = []
foreach d, list : modules
foreach m, module_ss : list
if enable_modules and targetos != 'windows'
- module_ss = module_ss.apply(config_host, strict: false)
+ module_ss = module_ss.apply(config_all, strict: false)
sl = static_library(d + '-' + m, [genh, module_ss.sources()],
dependencies: [modulecommon, module_ss.dependencies()], pic: true)
if d == 'block'