libxslt: add host build 10261/head
authorFlorian Eckert <fe@dev.tdt.de>
Mon, 14 Oct 2019 10:38:02 +0000 (12:38 +0200)
committerFlorian Eckert <fe@dev.tdt.de>
Tue, 22 Oct 2019 12:40:36 +0000 (14:40 +0200)
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
libs/libxslt/Makefile

index b31989e4a53b06bc210dacb462cb6ea6bfcdfb7c..3fe97df30195797c022d730ceb9f9559e70ae37d 100644 (file)
@@ -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))