Browse Source

Merge pull request #10261 from TDT-AG/pr/20191016-xsltproc

libxslt: add host build
lilik-openwrt-22.03
Florian Eckert 5 years ago
committed by GitHub
parent
commit
ad11fb70df
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 0 deletions
  1. +11
    -0
      libs/libxslt/Makefile

+ 11
- 0
libs/libxslt/Makefile View File

@ -27,6 +27,7 @@ PKG_FIXUP:=autoreconf
PKG_INSTALL:=1 PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/host-build.mk
define Package/libxslt define Package/libxslt
SECTION:=libs SECTION:=libs
@ -126,6 +127,15 @@ define Build/InstallDev
$(if $(CONFIG_PACKAGE_libexslt),$(call Build/InstallDev/Exslt,$(1),$(2))) $(if $(CONFIG_PACKAGE_libexslt),$(call Build/InstallDev/Exslt,$(1),$(2)))
endef endef
HOST_CONFIGURE_ARGS+= \
--disable-silent-rules \
--enable-static \
--without-python \
--without-crypto \
--without-debug \
--without-mem-debug \
--without-debugger
define Package/libxslt/install define Package/libxslt/install
$(INSTALL_DIR) $(1)/usr/lib $(INSTALL_DIR) $(1)/usr/lib
$(CP) \ $(CP) \
@ -150,3 +160,4 @@ endef
$(eval $(call BuildPackage,libxslt)) $(eval $(call BuildPackage,libxslt))
$(eval $(call BuildPackage,libexslt)) $(eval $(call BuildPackage,libexslt))
$(eval $(call BuildPackage,xsltproc)) $(eval $(call BuildPackage,xsltproc))
$(eval $(call HostBuild))

Loading…
Cancel
Save