From: Fabrice Fontaine Date: Fri, 28 Feb 2020 22:12:35 +0000 (+0100) Subject: package/libarchive: add lz4 optional dependency X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9a514c72cd42419b8a8db5092cd705547775a6a5;p=buildroot.git package/libarchive: add lz4 optional dependency lz4 is available since version 3.2.0 and https://github.com/libarchive/libarchive/commit/724f3f918e509ddca60ce62fad696d7621d3623d Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- diff --git a/package/libarchive/libarchive.mk b/package/libarchive/libarchive.mk index 94f974e7d1..20863f9ba9 100644 --- a/package/libarchive/libarchive.mk +++ b/package/libarchive/libarchive.mk @@ -79,6 +79,13 @@ else 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 @@ -131,6 +138,7 @@ HOST_LIBARCHIVE_CONF_OPTS = \ --without-expat \ --without-libiconv-prefix \ --without-xml2 \ + --without-lz4 \ --without-lzo2 \ --without-mbedtls \ --without-nettle \