OSDN Git Service

configure: do not include dependency flags in QEMU_CFLAGS and LIBS
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 1 Sep 2020 10:15:41 +0000 (06:15 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 8 Sep 2020 09:43:16 +0000 (11:43 +0200)
commitfeabc71dfa5807427b6b1a0f8db00d994399210d
treebf3eb8cfc2cd47bfba0e5490aea2c20595659973
parentde2d30051a460e220817b5b5ae6e86bd5609b2b7
configure: do not include dependency flags in QEMU_CFLAGS and LIBS

All Meson executables should specify their dependencies explicitly, either
directly or indirectly via declare_dependency.  Makefiles instead did
not propagate dependencies correctly from static libraries, for example.
Therefore, flags for dependencies need not be included in QEMU_CFLAGS.
LIBS is not used at all, so drop that one as well.

In a few cases the dependencies were not yet specified, so add them.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Makefile
configure
hw/arm/meson.build
hw/mips/meson.build
hw/riscv/meson.build
monitor/meson.build
ui/meson.build