diff mbox series

[1/2] meson: fix module config

Message ID 20200907071903.8065-2-kraxel@redhat.com
State Superseded
Headers show
Series meson: fix device module builds | expand

Commit Message

Gerd Hoffmann Sept. 7, 2020, 7:19 a.m. UTC
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>
---
 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meson.build b/meson.build
index 5aaa3647305d..837061cdfff6 100644
--- a/meson.build
+++ b/meson.build
@@ -844,7 +844,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'