python-crossbar: propagate missing dependencies
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 10 Mar 2016 20:16:55 +0000 (21:16 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 10 Mar 2016 21:29:46 +0000 (22:29 +0100)
python-crossbar selects python-msgpack which selects msgpack, which
depends on C++ and 4-byte __sync intrinsics. But python-crossbar does
not have the dependencies propagated.

Fixes:

  http://autobuild.buildroot.org/results/80f58b7264139dd82c690cb8aae97349aa412539/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/python-crossbar/Config.in

index 84c65c1b15daf7620703e259ea728037ffbdfa1f..4e613db0df8ebb8eb3404cd4322cf4681784f591 100644 (file)
@@ -29,9 +29,15 @@ config BR2_PACKAGE_PYTHON_CROSSBAR
        select BR2_PACKAGE_PYTHON_TWISTED
        select BR2_PACKAGE_PYTHON_UJSON
        select BR2_PACKAGE_PYTHON_WSACCEL
+       depends on BR2_INSTALL_LIBSTDCPP # python-msgpack -> msgpack
+       depends on BR2_TOOLCHAIN_HAS_SYNC_4 # python-msgpack -> msgpack
        help
          Crossbar.io is an open-source WAMP application router that
          allows to build advanced applications from loosely-coupled
          components that can talk in real-time with each other.
 
          https://pypi.python.org/pypi/crossbar
+
+comment "python-crossbar needs a toolchain w/ C++"
+       depends on BR2_TOOLCHAIN_HAS_SYNC_4
+       depends on !BR2_INSTALL_LIBSTDCPP