From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2, 3/3] package/libarchive: add zstd optional dependency
Date: Fri, 28 Feb 2020 23:12:36 +0100 [thread overview]
Message-ID: <20200228221236.1982482-3-fontaine.fabrice@gmail.com> (raw)
In-Reply-To: <20200228221236.1982482-1-fontaine.fabrice@gmail.com>
zstd is available since version 3.3.3 and
https://github.com/libarchive/libarchive/commit/26838cf5c17642f57192753cc5c3880b16b65ba3
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/libarchive/libarchive.mk | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/package/libarchive/libarchive.mk b/package/libarchive/libarchive.mk
index d07f0776a6..c3fe63526a 100644
--- a/package/libarchive/libarchive.mk
+++ b/package/libarchive/libarchive.mk
@@ -116,6 +116,12 @@ else
LIBARCHIVE_CONF_OPTS += --without-zlib
endif
+ifeq ($(BR2_PACKAGE_ZSTD),y)
+LIBARCHIVE_DEPENDENCIES += zstd
+else
+LIBARCHIVE_CONF_OPTS += --without-zstd
+endif
+
# libarchive requires LZMA with thread support in the toolchain
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS)$(BR2_PACKAGE_XZ),yy)
LIBARCHIVE_DEPENDENCIES += xz
@@ -141,7 +147,8 @@ HOST_LIBARCHIVE_CONF_OPTS = \
--without-mbedtls \
--without-nettle \
--without-openssl \
- --without-lzma
+ --without-lzma \
+ --without-zstd
$(eval $(autotools-package))
$(eval $(host-autotools-package))
--
2.25.0
next prev parent 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 ` [Buildroot] [PATCH v2, 2/3] package/libarchive: add lz4 optional dependency Fabrice Fontaine
2020-04-25 19:56 ` Thomas Petazzoni
2020-05-08 10:06 ` Peter Korsgaard
2020-02-28 22:12 ` Fabrice Fontaine [this message]
2020-04-25 19:56 ` [Buildroot] [PATCH v2, 3/3] package/libarchive: add zstd " 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-3-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