]> git.proxmox.com Git - mirror_qemu.git/commit
meson: fix libqos linking
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 2 Sep 2020 10:30:40 +0000 (06:30 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 8 Sep 2020 05:17:09 +0000 (07:17 +0200)
commitc138156ba55cd7e1b8b45a0e49f62f97d92a9e64
treeb099bdc14b45be695f075cf380876296469c8a87
parent8d60f377409bf3570bad4cc27a7fc6b2ca5818f0
meson: fix libqos linking

Add genh to the sources to avoid race conditions between QAPI
file generation and libqos compilation.

Make the name_suffix .fa for consistency with other link_whole
static libraries and to work around a Meson issue where
lots of linker flags are placed between -Wl,--start-group and
-Wl,--end-group and this breaks the fork-fuzz.ld linker script.

Reported-by: Claudio Fontana <cfontana@suse.de>
Reported-by: Alexander Bulekov <alxndr@bu.edu>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tests/qtest/libqos/meson.build