Skip to contentSkip to conversation

package/botan: add optional dependency to xz

Buildroot Thomas Petazzoni 1 participant 1 message Sep 7, 2018

lore
Share & tools
lore
#0 lore raw

commit: https://git.buildroot.net/buildroot/commit/?id=2fc8abde2b9bb46d44ee80c2bde4d0012672ef10
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

---
 package/botan/botan.mk | 5 +++++
 1 file changed, 5 insertions(+)
package/botan/botan.mk +5 -0
index 984ecdc039..eb817f62d9 100644
@@ -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