meson: -display dbus and CFI are incompatible
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 30 Sep 2022 07:53:02 +0000 (09:53 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 1 Oct 2022 19:16:29 +0000 (21:16 +0200)
commitbb2dc4b73a30613216c048fe2a6551e011d1c963
tree184f2d5498b8d95501b6aff3430751914a89e973
parent0e902f59c1f24f5779850d4ff6001c88bed2527c
meson: -display dbus and CFI are incompatible

The generated skeletons for DBus call the finalize method of the parent
type using code like

    G_OBJECT_CLASS (qemu_dbus_display1_chardev_skeleton_parent_class)->finalize (object);

However, the finalize method is defined in a shared library that is not
compiled with CFI.  Do not enable anything that uses gdbus-codegen if
--enable-cfi was specified.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
meson.build