From: Rosen Penev Date: Thu, 17 Dec 2020 23:57:57 +0000 (-0800) Subject: mdnsresponder: bring back LN hack X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=d424c2c662481891ebac3687593faecc1d0141ef;p=openwrt-packages.git 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 --- 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