diff --git a/package/python-cryptography/Config.in b/package/python-cryptography/Config.in
index 5a2e6da900..da4252d6da 100644
--- a/package/python-cryptography/Config.in
+++ b/package/python-cryptography/Config.in
@@ -17,4 +17,5 @@ config BR2_PACKAGE_PYTHON_CRYPTOGRAPHY
 	  https://cryptography.io
 
 comment "python-cryptography needs a toolchain w/ C++"
+	depends on BR2_PACKAGE_PYTHON3
 	depends on !BR2_INSTALL_LIBSTDCPP