From d424c2c662481891ebac3687593faecc1d0141ef Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Thu, 17 Dec 2020 15:57:57 -0800 Subject: [PATCH] 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 --- net/mdnsresponder/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/net/mdnsresponder/Makefile b/net/mdnsresponder/Makefile index f2aa82ca93..a46b53688f 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