summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanomi Manchego <danomimanchego123@gmail.com>2016-03-02 02:56:07 (GMT)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-03-02 20:20:27 (GMT)
commit2dfabd10d1e484d84c0e6b5a58ab43d131ca3230 (patch)
tree1c2b7204fb0f395de275ba7dacf18aed6ce27cd4
parent4eaa5a0e1b1da83a86d2f7dbb1bc55f151e40f1e (diff)
downloadbuildroot-refs/heads/next.tar.gz
buildroot-refs/heads/next.tar.bz2
avahi: move libdns_sd compat hook definition inside conditional blocknext
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. Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/avahi/avahi.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/avahi/avahi.mk b/package/avahi/avahi.mk
index cad7acd..8cf5f23 100644
--- a/package/avahi/avahi.mk
+++ b/package/avahi/avahi.mk
@@ -216,13 +216,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