Bläddra i källkod

libarchive: add host variant

This will be needed for the host variant of the fwup package. We enable
zlib support since host-fwup needs it. All other features are explicitly
disabled.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni 9 år sedan
förälder
incheckning
02b93c2136
1 ändrade filer med 17 tillägg och 0 borttagningar
  1. 17 0
      package/libarchive/libarchive.mk

+ 17 - 0
package/libarchive/libarchive.mk

@@ -99,4 +99,21 @@ else
 LIBARCHIVE_CONF_OPTS += --without-lzma
 endif
 
+# The only user of host-libarchive needs zlib support
+HOST_LIBARCHIVE_DEPENDENCIES = host-zlib
+HOST_LIBARCHIVE_CONF_OPTS = \
+	--disable-bsdtar \
+	--disable-bsdcpio \
+	--disable-acl \
+	--disable-xattr \
+	--without-bz2lib \
+	--without-expat \
+	--without-libiconv-prefix \
+	--without-xml2 \
+	--without-lzo2 \
+	--without-nettle \
+	--without-openssl \
+	--without-lzma
+
 $(eval $(autotools-package))
+$(eval $(host-autotools-package))