]> git.proxmox.com Git - mirror_qemu.git/commit - configure
configure: simplify creation of plugin symbol list
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 10 Dec 2021 08:55:15 +0000 (09:55 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 12 Jan 2022 13:09:06 +0000 (14:09 +0100)
commit37650689473c4cdb5838f90cbc1aefbcd9332fb0
treeaff84d9330c26fa9812bcaf531d694a98d94e37f
parenta5730b8bd3675f484ed0eacea052452048eeb35d
configure: simplify creation of plugin symbol list

--dynamic-list is present on all supported ELF (not Windows or Darwin)
platforms, since it dates back to 2006; -exported_symbols_list is
likewise present on all supported versions of macOS.  Do not bother
doing a functional test in configure.

Remove the file creation from configure as well: for Darwin, move the
the creation of the Darwin-formatted symbols to meson; for ELF, use the
file in the source path directly and switch from -Wl, to -Xlinker to
not break weird paths that include a comma.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
configure
plugins/meson.build