summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2012-12-05 18:05:04 +0000
committerFlorian Fainelli <florian@openwrt.org>2012-12-05 18:05:04 +0000
commit85ce5212fe946a07366f10067ae42c8f004f85ce (patch)
tree650fefe7f13c90496a027080111beb3d80c28db1
parenta3843e7ec7270c9456c81c958658a407d5d1409b (diff)
downloadmtk-20170518-85ce5212fe946a07366f10067ae42c8f004f85ce.zip
mtk-20170518-85ce5212fe946a07366f10067ae42c8f004f85ce.tar.gz
mtk-20170518-85ce5212fe946a07366f10067ae42c8f004f85ce.tar.bz2
libiconv-full: add clause to Makefile to actually install iconv
At present, if you select the iconv utility it will be built but not installed. This patch adds the clauses necessary to the Makefile to actually install iconv. Signed-off-by: Mike Brady <mikebrady@eircom.net> Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 34530
-rw-r--r--package/libs/libiconv-full/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/libs/libiconv-full/Makefile b/package/libs/libiconv-full/Makefile
index 6ce0589..75bca83 100644
--- a/package/libs/libiconv-full/Makefile
+++ b/package/libs/libiconv-full/Makefile
@@ -83,6 +83,11 @@ define Package/libiconv-full/install
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libiconv.so* $(1)/usr/lib/
endef
+define Package/iconv/install
+ $(INSTALL_DIR) $(1)/usr/bin
+ $(CP) $(PKG_INSTALL_DIR)/usr/bin/iconv $(1)/usr/bin/
+endef
+
$(eval $(call BuildPackage,libcharset))
$(eval $(call BuildPackage,libiconv-full))
$(eval $(call BuildPackage,iconv))