[Buildroot] [git commit branch/2021.05.x] package/botan: fix boost dependency

From: Peter Korsgaard <peter@korsgaard.com>
Date: 2021-09-29 19:40:45
Subsystem: the rest · Maintainer: Linus Torvalds

commit: https://git.buildroot.net/buildroot/commit/?id=6e8d26419a4deeb421a08f1a71e0c931797a1138
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2021.05.x

only build --with-boost when both required modules (filesystem and system) are
also selected.

Fixes:
http://autobuild.buildroot.net/results/4fbf2a63f9ddfbc540ce7dabd10964b311477c06

Signed-off-by: Michael Nosthoff <redacted>
Signed-off-by: Yann E. MORIN <redacted>
(cherry picked from commit 5572b2e53157db2958be2c52f4e7c2a1b0408d78)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
 package/botan/botan.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/botan/botan.mk b/package/botan/botan.mk
index 802dab9e30..aa0bb9b261 100644
--- a/package/botan/botan.mk
+++ b/package/botan/botan.mk
@@ -53,7 +53,7 @@ ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y)
 BOTAN_CONF_OPTS += --without-os-feature=getauxval
 endif
 
-ifeq ($(BR2_PACKAGE_BOOST),y)
+ifeq ($(BR2_PACKAGE_BOOST_FILESYSTEM)$(BR2_PACKAGE_BOOST_SYSTEM),yy)
 BOTAN_DEPENDENCIES += boost
 BOTAN_CONF_OPTS += --with-boost
 endif
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help