python-pyasn: requires the zlib Python module

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>
This commit is contained in:
Thomas Petazzoni 2014-09-30 23:39:00 +02:00
parent 9cc3f70e9b
commit 1ae62213fa
1 changed files with 2 additions and 0 deletions

View 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