Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2, 2/3] package/libarchive: add lz4 optional dependency
Date: Fri, 28 Feb 2020 23:12:35 +0100	[thread overview]
Message-ID: <20200228221236.1982482-2-fontaine.fabrice@gmail.com> (raw)
In-Reply-To: <20200228221236.1982482-1-fontaine.fabrice@gmail.com>

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>
---
 package/libarchive/libarchive.mk | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/package/libarchive/libarchive.mk b/package/libarchive/libarchive.mk
index b7ae5fb0cf..d07f0776a6 100644
--- a/package/libarchive/libarchive.mk
+++ b/package/libarchive/libarchive.mk
@@ -78,6 +78,12 @@ else
 LIBARCHIVE_CONF_OPTS += --without-xml2
 endif
 
+ifeq ($(BR2_PACKAGE_LZ4),y)
+LIBARCHIVE_DEPENDENCIES += lz4
+else
+LIBARCHIVE_CONF_OPTS += --without-lz4
+endif
+
 ifeq ($(BR2_PACKAGE_LZO),y)
 LIBARCHIVE_DEPENDENCIES += lzo
 else
@@ -130,6 +136,7 @@ HOST_LIBARCHIVE_CONF_OPTS = \
 	--without-expat \
 	--without-libiconv-prefix \
 	--without-xml2 \
+	--without-lz4 \
 	--without-lzo2 \
 	--without-mbedtls \
 	--without-nettle \
-- 
2.25.0

  reply	other threads:[~2020-02-28 22:12 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-28 22:12 [Buildroot] [PATCH v2, 1/3] package/libarchive: security bump to version 3.4.2 Fabrice Fontaine
2020-02-28 22:12 ` Fabrice Fontaine [this message]
2020-04-25 19:56   ` [Buildroot] [PATCH v2, 2/3] package/libarchive: add lz4 optional dependency Thomas Petazzoni
2020-05-08 10:06     ` Peter Korsgaard
2020-02-28 22:12 ` [Buildroot] [PATCH v2, 3/3] package/libarchive: add zstd " Fabrice Fontaine
2020-04-25 19:56   ` Thomas Petazzoni
2020-05-08 10:07     ` Peter Korsgaard
2020-02-29 16:47 ` [Buildroot] [PATCH v2, 1/3] package/libarchive: security bump to version 3.4.2 Yann E. MORIN
2020-03-14 17:39 ` Peter Korsgaard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200228221236.1982482-2-fontaine.fabrice@gmail.com \
    --to=fontaine.fabrice@gmail.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox