qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] audio/dbus: Fix building with modules enabled on macOS


From: Li Zhang
Subject: Re: [PATCH] audio/dbus: Fix building with modules enabled on macOS
Date: Tue, 8 Feb 2022 18:33:02 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0

On 2/3/22 5:58 PM, Philippe Mathieu-Daudé via wrote:
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")
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
---
  audio/meson.build | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/audio/meson.build b/audio/meson.build
index 0ac3791d0b..d9b295514f 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

I got the same problem when building master branch on my Linux server.
This patch looks good to me and it fixes my problem.

Reviewed-by: Li Zhang <lizhang@suse.de>


Thanks
Li Zhang



reply via email to

[Prev in Thread] Current Thread [Next in Thread]