mirror of
https://github.com/qemu/qemu.git
synced 2025-01-23 14:03:25 +08:00
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
This commit is contained in:
parent
e3624e8b18
commit
3e292c51ff
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user