Commit 8309626d authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

libarchive: build a minimal version

parent 27cb7a2e
......@@ -7,8 +7,6 @@ ifeq ($(call need_pkg,"libarchive >= 3.1.0"),)
PKGS_FOUND += libarchive
endif
DEPS_libarchive = libxml2
$(TARBALLS)/libarchive-$(LIBARCHIVE_VERSION).tar.gz:
$(call download,$(LIBARCHIVE_URL))
......@@ -21,6 +19,7 @@ libarchive: libarchive-$(LIBARCHIVE_VERSION).tar.gz .sum-libarchive
.libarchive: libarchive
cd $< && $(HOSTVARS) ./configure $(HOSTCONF) \
--disable-bsdcpio --disable-bsdtar --without-nettle
--disable-bsdcpio --disable-bsdtar --without-nettle --without-bz2lib \
--without-xml2 --without-lzmadec --without-iconv --without-expat
cd $< && $(MAKE) install
touch $@
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment