Skip to contentSkip to conversation

avahi: move libdns_sd compat hook definition inside conditional block

PATCH New Danomi Manchego 2 participants 2 messages Mar 2, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 avahi: move libdns_sd compat hook definition inside conditional block

As directed in the buildroot manual, "Optional hooks: keep hook definition and assignment together in one if block". And also to be consistent with the rest of avahi.mk.

---
 package/avahi/avahi.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/avahi/avahi.mk +1 -1
index b7ad81d..d014f11 100644
@@ -220,13 +220,13 @@ define AVAHI_INSTALL_INIT_SYSV
 	$(AVAHI_INSTALL_DAEMON_INIT_SYSV)
 endef
 
+ifeq ($(BR2_PACKAGE_AVAHI_LIBDNSSD_COMPATIBILITY),y)
 # applications expects to be able to #include <dns_sd.h>
 define AVAHI_STAGING_INSTALL_LIBDNSSD_LINK
 	ln -sf avahi-compat-libdns_sd/dns_sd.h \
 		$(STAGING_DIR)/usr/include/dns_sd.h
 endef
 
-ifeq ($(BR2_PACKAGE_AVAHI_LIBDNSSD_COMPATIBILITY),y)
 AVAHI_POST_INSTALL_STAGING_HOOKS += AVAHI_STAGING_INSTALL_LIBDNSSD_LINK
 endif
 
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 avahi: move libdns_sd compat hook definition inside conditional block

Dear Danomi Manchego,

Quoted 8 lines · Danomi Manchego

As directed in the buildroot manual, "Optional hooks: keep hook definition and assignment together in one if block". And also to be consistent with the rest of avahi.mk.

---
 package/avahi/avahi.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied to next, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com