[Buildroot] [PATCH] python-txtorcon: needs C++ support

Peter Korsgaard peter at korsgaard.com
Sun Jan 21 22:09:16 UTC 2018


Python-txtorcon selects python-pyopenssl and python-service-identity, both
(indirectly) needing C++ support, so propagate that dependency.

Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/python-txtorcon/Config.in | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/package/python-txtorcon/Config.in b/package/python-txtorcon/Config.in
index c4081ab0a3..4f91e7b048 100644
--- a/package/python-txtorcon/Config.in
+++ b/package/python-txtorcon/Config.in
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_PYTHON_TXTORCON
 	bool "python-txtorcon"
+	depends on BR2_INSTALL_LIBSTDCPP # python-pyopenssl, python-service-identity
 	select BR2_PACKAGE_PYTHON_AUTOMAT # runtime
 	select BR2_PACKAGE_PYTHON_IDNA # runtime
 	select BR2_PACKAGE_PYTHON_INCREMENTAL # runtime
@@ -13,3 +14,6 @@ config BR2_PACKAGE_PYTHON_TXTORCON
 	  configuration abstractions.
 
 	  https://github.com/meejah/txtorcon
+
+comment "python-txtorcon needs a toolchain w/ C++"
+	depends on !BR2_INSTALL_LIBSTDCPP
-- 
2.11.0



More information about the buildroot mailing list