diff --git a/package/python-autobahn/Config.in b/package/python-autobahn/Config.in index c9caa1f1c4..527416a3cd 100644 --- a/package/python-autobahn/Config.in +++ b/package/python-autobahn/Config.in @@ -19,10 +19,15 @@ config BR2_PACKAGE_PYTHON_AUTOBAHN_ACCELERATE config BR2_PACKAGE_PYTHON_AUTOBAHN_COMPRESS bool "Non-standard WebSocket compression support" + depends on BR2_INSTALL_LIBSTDCPP # python-snappy -> snappy select BR2_PACKAGE_PYTHON_SNAPPY # runtime +comment "Non-standard WebSocket compression needs a toolchain w/ C++" + depends on !BR2_INSTALL_LIBSTDCPP + config BR2_PACKAGE_PYTHON_AUTOBAHN_ENCRYPTION bool "TLS and WAMP-cryptosign encryption/authentication support" + depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS # python-pyopenssl -> python-cryptography select BR2_PACKAGE_PYTHON_PYNACL # runtime select BR2_PACKAGE_PYTHON_PYOPENSSL # runtime select BR2_PACKAGE_PYTHON_QRCODE # runtime @@ -37,12 +42,16 @@ config BR2_PACKAGE_PYTHON_AUTOBAHN_SCRAM config BR2_PACKAGE_PYTHON_AUTOBAHN_SERIALIZATION bool "Accelerated JSON, MessagePack, CBOR, UBJSON, and FlatBuffers serialization support" + depends on BR2_INSTALL_LIBSTDCPP # python-ujson select BR2_PACKAGE_PYTHON_CBOR2 # runtime select BR2_PACKAGE_PYTHON_FLATBUFFERS # runtime select BR2_PACKAGE_PYTHON_MSGPACK # runtime select BR2_PACKAGE_PYTHON_UBJSON # runtime select BR2_PACKAGE_PYTHON_UJSON # runtime +comment "Accelerated JSON, MessagePack, CBOR, UBJSON, and FlatBuffers serialization needs a toolchain w/ C++" + depends on !BR2_INSTALL_LIBSTDCPP + config BR2_PACKAGE_PYTHON_AUTOBAHN_TWISTED bool "Twisted support" select BR2_PACKAGE_PYTHON_ATTRS # runtime diff --git a/package/python-crossbar/Config.in b/package/python-crossbar/Config.in index fb06f7672a..aadcb2c360 100644 --- a/package/python-crossbar/Config.in +++ b/package/python-crossbar/Config.in @@ -3,6 +3,7 @@ config BR2_PACKAGE_PYTHON_CROSSBAR depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS # python-cryptography depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS # python-numpy depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL # python-numpy + depends on BR2_INSTALL_LIBSTDCPP # python-autobahn's compress and serialization # All the following dependencies are runtime dependencies. It # matches almost 1:1 the requirements-min.txt from crossbar # with the following exceptions: @@ -63,7 +64,8 @@ config BR2_PACKAGE_PYTHON_CROSSBAR https://pypi.python.org/pypi/crossbar -comment "python-crossbar needs glibc or musl" +comment "python-crossbar needs a glibc or musl toolchain w/ C++" depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS - depends on !(BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL) + depends on !(BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL) || \ + !BR2_INSTALL_LIBSTDCPP