From fe1d532ac2c27a662e51a06c879521be92ddcbe2 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Wed, 8 Mar 2023 18:44:02 +0100 Subject: [PATCH] package/pulseaudio: fix build without avahi-client Fix the following build failure without avahi-client raised since commit 7752afbe4bb9fa1def5ba89daf21564ea58af79a (before this commit, avahi was silently disabled): ../output-1/build/pulseaudio-16.1/meson.build:754:2: ERROR: Dependency "avahi-client" not found, tried pkgconfig and cmake Fixes: - http://autobuild.buildroot.org/results/0aea014eb4ed27870af908668d7b138d150f065a Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit 63e33bf88dd2138c4caa3dbfd5e1d89518ddd398) Signed-off-by: Peter Korsgaard --- package/pulseaudio/pulseaudio.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/pulseaudio/pulseaudio.mk b/package/pulseaudio/pulseaudio.mk index 8c4b99b6ff..89191db541 100644 --- a/package/pulseaudio/pulseaudio.mk +++ b/package/pulseaudio/pulseaudio.mk @@ -25,7 +25,7 @@ PULSEAUDIO_DEPENDENCIES = \ PULSEAUDIO_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS) -ifeq ($(BR2_PACKAGE_AVAHI_DAEMON),y) +ifeq ($(BR2_PACKAGE_AVAHI_LIBAVAHI_CLIENT),y) PULSEAUDIO_CONF_OPTS += -Davahi=enabled PULSEAUDIO_DEPENDENCIES += avahi else