aboutsummaryrefslogtreecommitdiff
path: root/net/mdnsresponder
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2020-12-17 15:57:57 -0800
committerRosen Penev <rosenp@gmail.com>2020-12-17 15:57:57 -0800
commitd424c2c662481891ebac3687593faecc1d0141ef (patch)
tree9ae735da4b34958bb849452fcfeab1bda2ec1ee6 /net/mdnsresponder
parenta567a7d2149eb7e7ce0848153280c655c6a7971e (diff)
mdnsresponder: bring back LN hack
It turns out that the Makefile of mdnsreponder links to absolute paths instead of relative ones. This is an issue when compiling. Fix for InstallDev as well. Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'net/mdnsresponder')
-rw-r--r--net/mdnsresponder/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/net/mdnsresponder/Makefile b/net/mdnsresponder/Makefile
index f2aa82ca9..a46b53688 100644
--- a/net/mdnsresponder/Makefile
+++ b/net/mdnsresponder/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=mDNSResponder
PKG_VERSION:=IETF104
-PKG_RELEASE:=3
+PKG_RELEASE:=4
PKG_SOURCE:=mDNSResponder-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://opensource.apple.com/tarballs/mDNSResponder/IETF/
@@ -124,7 +124,8 @@ define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include
$(CP) $(PKG_INSTALL_DIR)/usr/include/dns_sd.h $(1)/usr/include/
$(INSTALL_DIR) $(1)/usr/lib
- $(CP) $(PKG_INSTALL_DIR)/usr/lib/libdns_sd.so* $(1)/usr/lib/
+ $(CP) $(PKG_INSTALL_DIR)/usr/lib/libdns_sd.so.1 $(1)/usr/lib/
+ $(LN) -s libdns_sd.so.1 $(1)/usr/lib/libdns_sd.so
endef
define Package/mdns-utils/install
@@ -152,7 +153,8 @@ define Package/mdnsd/install
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) ./files/mdnsd.init $(1)/etc/init.d/mdnsd
$(INSTALL_DIR) $(1)/usr/lib/
- $(CP) $(PKG_INSTALL_DIR)/usr/lib/libdns_sd.so* $(1)/usr/lib/
+ $(CP) $(PKG_INSTALL_DIR)/usr/lib/libdns_sd.so.1 $(1)/usr/lib/
+ $(LN) -s libdns_sd.so.1 $(1)/usr/lib/libdns_sd.so
endef
define Package/mdnsresponder/install