From 0ccb665e15cc74042e8c12543d0945e1b6c6804a Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Sat, 23 Sep 2017 10:46:28 +0200 Subject: [PATCH] package/tor: add optional support for lzma According to https://blog.torproject.org/tor-0317-now-released we also need host-pkgconf for lzma support. Signed-off-by: Bernd Kuhls Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/tor/tor.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/tor/tor.mk b/package/tor/tor.mk index a68f29cac6..6052e09cf1 100644 --- a/package/tor/tor.mk +++ b/package/tor/tor.mk @@ -30,6 +30,13 @@ ifeq ($(BR2_PACKAGE_LIBCAP),y) TOR_DEPENDENCIES += libcap endif +ifeq ($(BR2_PACKAGE_XZ),y) +TOR_CONF_OPTS += --enable-lzma +TOR_DEPENDENCIES += host-pkgconf xz +else +TOR_CONF_OPTS += --disable-lzma +endif + ifeq ($(BR2_arm)$(BR2_armeb)$(BR2_i386)$(BR2_x86_64)$(BR2_PACKAGE_LIBSECCOMP),yy) TOR_CONF_OPTS += --enable-seccomp TOR_DEPENDENCIES += libseccomp -- 2.30.2