From 4eed1ac0c47a0165d42be30f1731b85baa0a122d Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Tue, 17 May 2016 23:39:59 +0200 Subject: [PATCH] python-treq: add missing BR2_INSTALL_LIBSTDCPP dependency python-treq selects python-pyopenssl, which depends on C++ support, but this dependency was not propagated to python-treq, causing the following kconfig warning: warning: (BR2_PACKAGE_PYTHON_TREQ) selects BR2_PACKAGE_PYTHON_PYOPENSSL which has unmet direct dependencies ((BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3) && BR2_INSTALL_LIBSTDCPP) This commit fixes that by adding the appropriate dependency. Cc: Yegor Yefremov [Thomas: add Config.in comment.] Signed-off-by: Thomas Petazzoni --- package/python-treq/Config.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/python-treq/Config.in b/package/python-treq/Config.in index a8590a9740..4a237373d1 100644 --- a/package/python-treq/Config.in +++ b/package/python-treq/Config.in @@ -5,9 +5,13 @@ config BR2_PACKAGE_PYTHON_TREQ select BR2_PACKAGE_PYTHON_SIX # runtime select BR2_PACKAGE_PYTHON_TWISTED # runtime select BR2_PACKAGE_PYTHON_PYOPENSSL # runtime + depends on BR2_INSTALL_LIBSTDCPP # python-pyopenssl help treq is an HTTP library inspired by requests but written on top of Twisted's Agents. It provides a simple, higher level API for making HTTP requests when using Twisted. https://github.com/twisted/treq + +comment "python-treq needs a toolchain w/ C++" + depends on !BR2_INSTALL_LIBSTDCPP