python-pyasn: requires the zlib Python module
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 30 Sep 2014 21:39:00 +0000 (23:39 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 5 Oct 2014 12:32:41 +0000 (14:32 +0200)
The python-pyasn module requires the zlib Python module (part of the
Python standard installation, but optional in Buildroot), otherwise it
fails to load at runtime.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/python-pyasn/Config.in

index eca53db8c6961491684ca97ae2df622a6adc3453..efdbbc59d627e0c24dbc344c2fe3be56f11a3f48 100644 (file)
@@ -2,6 +2,8 @@ config BR2_PACKAGE_PYTHON_PYASN
        bool "python-pyasn"
        depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3
        depends on BR2_INSTALL_LIBSTDCPP
+       select BR2_PACKAGE_PYTHON3_ZLIB if BR2_PACKAGE_PYTHON3
+       select BR2_PACKAGE_PYTHON_ZLIB if BR2_PACKAGE_PYTHON
        help
          PyASN is a Python extension module that enables you to
          perform very fast IP address to Autonomous System Number