[Buildroot] [PATCH v2 4/4] package/tor: add optional support for zstd

Bernd Kuhls bernd.kuhls at t-online.de
Sat Sep 23 08:46:30 UTC 2017


According to https://blog.torproject.org/tor-0317-now-released
we also need host-pkgconf for zstd support.

Signed-off-by: Bernd Kuhls <bernd.kuhls at t-online.de>
---
v2: no changes

 package/tor/tor.mk | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/package/tor/tor.mk b/package/tor/tor.mk
index 6052e09cf1..7bce9d1b40 100644
--- a/package/tor/tor.mk
+++ b/package/tor/tor.mk
@@ -37,6 +37,13 @@ else
 TOR_CONF_OPTS += --disable-lzma
 endif
 
+ifeq ($(BR2_PACKAGE_ZSTD),y)
+TOR_CONF_OPTS += --enable-zstd
+TOR_DEPENDENCIES += host-pkgconf zstd
+else
+TOR_CONF_OPTS += --disable-zstd
+endif
+
 ifeq ($(BR2_arm)$(BR2_armeb)$(BR2_i386)$(BR2_x86_64)$(BR2_PACKAGE_LIBSECCOMP),yy)
 TOR_CONF_OPTS += --enable-seccomp
 TOR_DEPENDENCIES += libseccomp
-- 
2.11.0



More information about the buildroot mailing list