Quellcode durchsuchen

libreadline: add host-build

Also make sure that the PKG_NAME and folder name are equal.

Signed-off-by: Daniel Golle <[email protected]>
Daniel Golle vor 8 Jahren
Ursprung
Commit
04063820e8

+ 2 - 0
package/libs/libreadline/Makefile → 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))

+ 0 - 0
package/libs/libreadline/patches/001-install_perm.patch → package/libs/readline/patches/001-install_perm.patch