aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>2022-02-03 16:25:09 +0100
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>2022-03-15 13:36:33 +0100
commitc9c847481e70f2f5065605b6d21f7f8d72e54607 (patch)
tree84494924373d457b23322dc21a252056207f5641 /audio
parent9f56bd6dab1a73362aefb7fe7bb8e364410d9d1e (diff)
downloadqemu-c9c847481e70f2f5065605b6d21f7f8d72e54607.zip
qemu-c9c847481e70f2f5065605b6d21f7f8d72e54607.tar.gz
qemu-c9c847481e70f2f5065605b6d21f7f8d72e54607.tar.bz2
audio/dbus: Fix building with modules on macOS
When configuring QEMU with --enable-modules we get on macOS: --- stderr --- Dependency ui-dbus cannot be satisfied ui-dbus depends on pixman and opengl, so add these dependencies to audio-dbus. Fixes: 739362d420 ("audio: add "dbus" audio backend") Reviewed-by: Li Zhang <lizhang@suse.de> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Diffstat (limited to 'audio')
-rw-r--r--audio/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/meson.build b/audio/meson.build
index 0ac3791..d9b2955 100644
--- a/audio/meson.build
+++ b/audio/meson.build
@@ -28,7 +28,7 @@ endforeach
if dbus_display
module_ss = ss.source_set()
- module_ss.add(when: gio, if_true: files('dbusaudio.c'))
+ module_ss.add(when: [gio, pixman, opengl, 'CONFIG_GIO'], if_true: files('dbusaudio.c'))
audio_modules += {'dbus': module_ss}
endif