getdns: fix library double packing 9193/head
authorAlexander Ryzhov <github@ryzhov-al.ru>
Thu, 6 Jun 2019 16:57:52 +0000 (19:57 +0300)
committerAlexander Ryzhov <github@ryzhov-al.ru>
Sat, 8 Jun 2019 17:29:58 +0000 (20:29 +0300)
Signed-off-by: Alexander Ryzhov <github@ryzhov-al.ru>
libs/getdns/Makefile

index 40e559ef45143c5c7d293b9e0ffe3c1f81374a12..b26be3c7a0d40ad461d5970fb600423d0921f266 100644 (file)
@@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=getdns
 PKG_VERSION:=1.5.2
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_LICENSE:=BSD-3-Clause
 PKG_LICENSE_FILES:=LICENSE
@@ -72,7 +72,7 @@ endef
 
 define Package/getdns/install
        $(INSTALL_DIR) $(1)/usr/lib
-       $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/libgetdns.so.* $(1)/usr/lib/
+       $(CP) $(PKG_INSTALL_DIR)/usr/lib/libgetdns.so.* $(1)/usr/lib/
        $(INSTALL_DIR) $(1)/usr/sbin
        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/getdns_query $(1)/usr/sbin/getdns_query
 endef