From db7c84f672a7f7a7078d2005e2004c2695b828d3 Mon Sep 17 00:00:00 2001 From: Florian Eckert Date: Mon, 14 Oct 2019 12:38:02 +0200 Subject: [PATCH] libxslt: add host build Signed-off-by: Florian Eckert (cherry-picked from 48ad713a1407711404a7913f179702d30632da5a) --- libs/libxslt/Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/libs/libxslt/Makefile b/libs/libxslt/Makefile index 795bf2a56..b83150cd3 100644 --- a/libs/libxslt/Makefile +++ b/libs/libxslt/Makefile @@ -27,6 +27,7 @@ PKG_FIXUP:=autoreconf PKG_INSTALL:=1 include $(INCLUDE_DIR)/package.mk +include $(INCLUDE_DIR)/host-build.mk define Package/libxslt SECTION:=libs @@ -126,6 +127,15 @@ define Build/InstallDev $(if $(CONFIG_PACKAGE_libexslt),$(call Build/InstallDev/Exslt,$(1),$(2))) endef +HOST_CONFIGURE_ARGS+= \ + --disable-silent-rules \ + --enable-static \ + --without-python \ + --without-crypto \ + --without-debug \ + --without-mem-debug \ + --without-debugger + define Package/libxslt/install $(INSTALL_DIR) $(1)/usr/lib $(CP) \ @@ -150,3 +160,4 @@ endef $(eval $(call BuildPackage,libxslt)) $(eval $(call BuildPackage,libexslt)) $(eval $(call BuildPackage,xsltproc)) +$(eval $(call HostBuild))