mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 18:23:57 -06:00
meson: require dynamic linking for VSS support
The glib_dynamic detection does not work because the dependency is overridden in the main meson.build. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> [Rewritten commit message, added requirement in qga/meson.build - Paolo] Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Konstantin Kostiuk <kkostiuk@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
23011f44d7
commit
e23460ce92
2 changed files with 4 additions and 2 deletions
|
@ -1,4 +1,3 @@
|
|||
glib_dynamic = dependency('glib-2.0', static: false)
|
||||
link_args = cc.get_supported_link_arguments([
|
||||
'-fstack-protector-all',
|
||||
'-fstack-protector-strong',
|
||||
|
@ -14,7 +13,8 @@ qga_vss = shared_module(
|
|||
link_args: link_args,
|
||||
vs_module_defs: 'qga-vss.def',
|
||||
dependencies: [
|
||||
glib_dynamic, socket,
|
||||
glib,
|
||||
socket,
|
||||
cc.find_library('ole32'),
|
||||
cc.find_library('oleaut32'),
|
||||
cc.find_library('shlwapi'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue