summaryrefslogtreecommitdiffstats
path: root/package/python-pyasn/Config.in
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-09-30 23:39:00 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-10-05 14:32:41 +0200
commit1ae62213fa26b4c0b07b635b31404f17f8ecae9b (patch)
tree77f128eb52cfc6498f65a1f80fd29c44a9e18eff /package/python-pyasn/Config.in
parent9cc3f70e9b1db6e9b77a46b5201cf4442f44ebda (diff)
downloadbuildroot-1ae62213fa26b4c0b07b635b31404f17f8ecae9b.tar.gz
buildroot-1ae62213fa26b4c0b07b635b31404f17f8ecae9b.zip
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>
Diffstat (limited to 'package/python-pyasn/Config.in')
-rw-r--r--package/python-pyasn/Config.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/python-pyasn/Config.in b/package/python-pyasn/Config.in
index eca53db8c6..efdbbc59d6 100644
--- a/package/python-pyasn/Config.in
+++ b/package/python-pyasn/Config.in
@@ -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
OpenPOWER on IntegriCloud