diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2020-09-01 06:15:41 -0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-09-08 11:43:16 +0200 |
commit | feabc71dfa5807427b6b1a0f8db00d994399210d (patch) | |
tree | bf3eb8cfc2cd47bfba0e5490aea2c20595659973 /monitor/meson.build | |
parent | de2d30051a460e220817b5b5ae6e86bd5609b2b7 (diff) |
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>
Diffstat (limited to 'monitor/meson.build')
-rw-r--r-- | monitor/meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/monitor/meson.build b/monitor/meson.build index 0484a64341..eb2a534fdc 100644 --- a/monitor/meson.build +++ b/monitor/meson.build @@ -6,4 +6,4 @@ softmmu_ss.add(files( 'qmp-cmds.c', )) -specific_ss.add(when: 'CONFIG_SOFTMMU', if_true: files('misc.c')) +specific_ss.add(when: 'CONFIG_SOFTMMU', if_true: [files('misc.c'), spice]) |