aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Fabrice Fontaine <fontaine.fabrice@gmail.com>2019-04-27 15:49:25 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2019-04-29 09:28:29 +0200
commit89e70a7077f772cafcc602d8b560e3c954419a06 (patch)
tree0f36cefd4ae2ab75996d85ca0a1595f009b1441a
parent138014bf233c1b946e7dab5a8cb56d4cae3093d7 (diff)
downloadbuildroot-89e70a7077f772cafcc602d8b560e3c954419a06.tar.gz
buildroot-89e70a7077f772cafcc602d8b560e3c954419a06.tar.bz2
package/bind: fix python build
A check for python-ply has been added as this is a dependency of the dnssec-keymgr script so install host-python-ply to avoid a build failure if python-ply is not installed on host Fixes: - http://autobuild.buildroot.org/results/96815b1300547c976443bf74b762febdfcc8d3ba Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/bind/bind.mk7
1 files changed, 5 insertions, 2 deletions
diff --git a/package/bind/bind.mk b/package/bind/bind.mk
index 356bc259b2..087ce941b0 100644
--- a/package/bind/bind.mk
+++ b/package/bind/bind.mk
@@ -70,8 +70,11 @@ else
BIND_CONF_OPTS += --with-openssl=no
endif
-# Used by dnssec-checkds and dnssec-coverage
-ifeq ($(BR2_PACKAGE_PYTHON)$(BR2_PACKAGE_PYTHON3),)
+# Used by dnssec-keymgr
+ifeq ($(BR2_PACKAGE_PYTHON_PLY),y)
+BIND_DEPENDENCIES += host-python-ply
+BIND_CONF_OPTS += --with-python=$(HOST_DIR)/usr/bin/python
+else
BIND_CONF_OPTS += --with-python=no
endif