lz4 is available since version 3.2.0 and
https://github.com/libarchive/libarchive/commit/
724f3f918e509ddca60ce62fad696d7621d3623d
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
LIBARCHIVE_CONF_OPTS += --without-xml2
endif
+ifeq ($(BR2_PACKAGE_LZ4),y)
+LIBARCHIVE_CONF_OPTS += --with-lz4
+LIBARCHIVE_DEPENDENCIES += lz4
+else
+LIBARCHIVE_CONF_OPTS += --without-lz4
+endif
+
ifeq ($(BR2_PACKAGE_LZO),y)
LIBARCHIVE_DEPENDENCIES += lzo
else
--without-expat \
--without-libiconv-prefix \
--without-xml2 \
+ --without-lz4 \
--without-lzo2 \
--without-mbedtls \
--without-nettle \