diff mbox series

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

Message ID 20180818233052.30190-2-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 21a66adff1..e25bf5b52f 100644
--- a/package/botan/botan.mk
+++ b/package/botan/botan.mk
@@ -40,6 +40,11 @@  else
 BOTAN_CONF_OPTS += --without-stack-protector
 endif
 
+ifeq ($(BR2_PACKAGE_BOOST),y)
+BOTAN_DEPENDENCIES += boost
+BOTAN_CONF_OPTS += --with-boost
+endif
+
 ifeq ($(BR2_PACKAGE_BZIP2),y)
 BOTAN_DEPENDENCIES += bzip2
 BOTAN_CONF_OPTS += --with-bzip2