]> git.proxmox.com Git - mirror_qemu.git/commit
meson: clean up static_library keyword arguments
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 27 Sep 2023 13:48:31 +0000 (15:48 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 29 Sep 2023 07:33:10 +0000 (09:33 +0200)
commit4c545a05abe8859c6e0f64079abe6495fd58d7a8
tree45ca41b89ddfff265dd76af1feb869799f555818
parentf0df613b98901a2a9184a76f332a853391a73fa8
meson: clean up static_library keyword arguments

These are either built because they are dependencies of other targets,
or not needed at all because they are used via extract_objects().
Mark them as "build_by_default: false"; if applicable, mark them
as "fa" so that -Wl,--whole-archive does not interact with the
linker script used for fuzzing.

(The "fa" hack is brittle; updating to Meson 1.1 would allow using
declare_dependency(objects: ...) instead).

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1044
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
gdbstub/meson.build
meson.build
tcg/meson.build