aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2017-06-24 13:58:56 +0200
committerDaniel Golle <daniel@makrotopia.org>2017-06-24 14:38:14 +0200
commit04063820e85831e4f623faf395323e3e48b18b7d (patch)
tree88553f7e07d821d2e8294673467b78fb1bb81ea3
parent991899cc5449d8595593a66c0130fdcaa088b36a (diff)
downloadupstream-04063820e85831e4f623faf395323e3e48b18b7d.tar.gz
upstream-04063820e85831e4f623faf395323e3e48b18b7d.tar.bz2
upstream-04063820e85831e4f623faf395323e3e48b18b7d.zip
libreadline: add host-build
Also make sure that the PKG_NAME and folder name are equal. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
-rw-r--r--package/libs/readline/Makefile (renamed from package/libs/libreadline/Makefile)2
-rw-r--r--package/libs/readline/patches/001-install_perm.patch (renamed from package/libs/libreadline/patches/001-install_perm.patch)0
2 files changed, 2 insertions, 0 deletions
diff --git a/package/libs/libreadline/Makefile b/package/libs/readline/Makefile
index 3c1b048fe8..ccd20a4b18 100644
--- a/package/libs/libreadline/Makefile
+++ b/package/libs/readline/Makefile
@@ -23,6 +23,7 @@ PKG_FIXUP:=autoreconf
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/host-build.mk
define Package/libreadline
SECTION:=libs
@@ -69,4 +70,5 @@ define Package/libreadline/install
$(CP) $(PKG_INSTALL_DIR)/usr/lib/lib{history,readline}.{so,so.7,so.7.0} $(1)/usr/lib/
endef
+$(eval $(call HostBuild))
$(eval $(call BuildPackage,libreadline))
diff --git a/package/libs/libreadline/patches/001-install_perm.patch b/package/libs/readline/patches/001-install_perm.patch
index 951ff73e5b..951ff73e5b 100644
--- a/package/libs/libreadline/patches/001-install_perm.patch
+++ b/package/libs/readline/patches/001-install_perm.patch