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

Peter Korsgaard peter at korsgaard.com
Wed Sep 29 19:34:34 UTC 2021


commit: https://git.buildroot.net/buildroot/commit/?id=bcc232c23aac108ff3ee9779451c1d5ffb22ddf0
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2021.02.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 <buildroot at heine.tech>
Signed-off-by: Yann E. MORIN <yann.morin.1998 at free.fr>
(cherry picked from commit 5572b2e53157db2958be2c52f4e7c2a1b0408d78)
Signed-off-by: Peter Korsgaard <peter at 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


More information about the buildroot mailing list