diff --git a/package/avahi/avahi.mk b/package/avahi/avahi.mk index 5d6e6a811f..b7ad81dc37 100644 --- a/package/avahi/avahi.mk +++ b/package/avahi/avahi.mk @@ -115,6 +115,10 @@ else AVAHI_CONF_OPTS += --disable-libdaemon endif +ifeq ($(BR2_PACKAGE_LIBCAP),y) +AVAHI_DEPENDENCIES += libcap +endif + ifeq ($(BR2_PACKAGE_AVAHI_DAEMON),y) AVAHI_DEPENDENCIES += expat AVAHI_CONF_OPTS += --with-xml=expat