diff --git a/package/python-twisted/Config.in b/package/python-twisted/Config.in index b72952f979..805f1bc5d6 100644 --- a/package/python-twisted/Config.in +++ b/package/python-twisted/Config.in @@ -12,3 +12,17 @@ config BR2_PACKAGE_PYTHON_TWISTED Python. https://twistedmatrix.com/trac/ + +if BR2_PACKAGE_PYTHON_TWISTED + +config BR2_PACKAGE_PYTHON_TWISTED_TLS + bool "TLS support" + depends on BR2_INSTALL_LIBSTDCPP # python-{pyopenssl,service-identity} + select BR2_PACKAGE_PYTHON_IDNA # runtime + select BR2_PACKAGE_PYTHON_PYOPENSSL # runtime + select BR2_PACKAGE_PYTHON_SERVICE_IDENTITY # runtime + +comment "TLS support needs a toolchain w/ C++" + depends on !BR2_INSTALL_LIBSTDCPP + +endif