mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
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>
This commit is contained in:
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=mDNSResponder
|
PKG_NAME:=mDNSResponder
|
||||||
PKG_VERSION:=IETF104
|
PKG_VERSION:=IETF104
|
||||||
PKG_RELEASE:=3
|
PKG_RELEASE:=4
|
||||||
|
|
||||||
PKG_SOURCE:=mDNSResponder-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=mDNSResponder-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=https://opensource.apple.com/tarballs/mDNSResponder/IETF/
|
PKG_SOURCE_URL:=https://opensource.apple.com/tarballs/mDNSResponder/IETF/
|
||||||
@@ -124,7 +124,8 @@ define Build/InstallDev
|
|||||||
$(INSTALL_DIR) $(1)/usr/include
|
$(INSTALL_DIR) $(1)/usr/include
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/include/dns_sd.h $(1)/usr/include/
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/dns_sd.h $(1)/usr/include/
|
||||||
$(INSTALL_DIR) $(1)/usr/lib
|
$(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
|
endef
|
||||||
|
|
||||||
define Package/mdns-utils/install
|
define Package/mdns-utils/install
|
||||||
@@ -152,7 +153,8 @@ define Package/mdnsd/install
|
|||||||
$(INSTALL_DIR) $(1)/etc/init.d
|
$(INSTALL_DIR) $(1)/etc/init.d
|
||||||
$(INSTALL_BIN) ./files/mdnsd.init $(1)/etc/init.d/mdnsd
|
$(INSTALL_BIN) ./files/mdnsd.init $(1)/etc/init.d/mdnsd
|
||||||
$(INSTALL_DIR) $(1)/usr/lib/
|
$(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
|
endef
|
||||||
|
|
||||||
define Package/mdnsresponder/install
|
define Package/mdnsresponder/install
|
||||||
|
|||||||
Reference in New Issue
Block a user