diff mbox series

[PATCH/next,4/4] package/botan: add optional dependency to xz

Message ID 20180818233052.30190-4-bernd.kuhls@t-online.de
State Accepted
Headers show
Series None | expand

Commit Message

Bernd Kuhls Aug. 18, 2018, 11:30 p.m. UTC
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 package/botan/botan.mk | 5 +++++
 1 file changed, 5 insertions(+)
diff mbox series

Patch

diff --git a/package/botan/botan.mk b/package/botan/botan.mk
index 984ecdc039..eb817f62d9 100644
--- a/package/botan/botan.mk
+++ b/package/botan/botan.mk
@@ -60,6 +60,11 @@  BOTAN_DEPENDENCIES += sqlite
 BOTAN_CONF_OPTS += --with-sqlite
 endif
 
+ifeq ($(BR2_PACKAGE_XZ),y)
+BOTAN_DEPENDENCIES += xz
+BOTAN_CONF_OPTS += --with-lzma
+endif
+
 ifeq ($(BR2_PACKAGE_ZLIB),y)
 BOTAN_DEPENDENCIES += zlib
 BOTAN_CONF_OPTS += --with-zlib