diff options
author | Paolo Bonzini | 2022-07-28 08:41:28 +0200 |
---|---|---|
committer | Paolo Bonzini | 2022-07-28 13:08:29 +0200 |
commit | d82b11f69953cf15cee819bcf02dfd87325980a9 (patch) | |
tree | 3581052adce068d86ce7b15caf44823cda39e50c /ui | |
parent | Update version for v7.1.0-rc0 release (diff) | |
download | qemu-d82b11f69953cf15cee819bcf02dfd87325980a9.tar.gz qemu-d82b11f69953cf15cee819bcf02dfd87325980a9.tar.xz qemu-d82b11f69953cf15cee819bcf02dfd87325980a9.zip |
ui: dbus-display requires CONFIG_GBM
Without CONFIG_GBM, compiling dbus-display fails with
../ui/dbus.c: In function ‘dbus_create_context’:
../ui/dbus.c:47:20: error: ‘qemu_egl_rn_ctx’ undeclared (first use in this function); did you mean ‘qemu_egl_init_ctx’?
47 | qemu_egl_rn_ctx);
| ^~~~~~~~~~~~~~~
| qemu_egl_init_ctx
../ui/dbus.c:47:20: note: each undeclared identifier is reported only once for each function it appears in
and many other similar errors, because include/ui/egl-helpers.h only has
these declaration if gbm is found on the system.
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1108
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'ui')
-rw-r--r-- | ui/meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/meson.build b/ui/meson.build index e9f48c5315..ec13949776 100644 --- a/ui/meson.build +++ b/ui/meson.build @@ -81,7 +81,7 @@ if dbus_display '--interface-prefix', 'org.qemu.', '--c-namespace', 'QemuDBus', '--generate-c-code', '@BASENAME@']) - dbus_ss.add(when: [gio, pixman, opengl], + dbus_ss.add(when: [gio, pixman, opengl, gbm], if_true: [files( 'dbus-chardev.c', 'dbus-clipboard.c', |