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:
parent
a567a7d214
commit
d424c2c662
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue