summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Jarry <robin.jarry@6wind.com>2017-09-08 14:02:49 (GMT)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-09-09 20:25:02 (GMT)
commit7c0ecd4d7526dedce85a49172b031f45cde19a4b (patch)
tree843036df56c5ee7119be83c1bab5a870bf6f6701
parent3f6c10df674b7cc7a854fb0099ebeb926d162975 (diff)
downloadbuildroot-7c0ecd4d7526dedce85a49172b031f45cde19a4b.tar.gz
buildroot-7c0ecd4d7526dedce85a49172b031f45cde19a4b.tar.bz2
bind: fix compilation when lmdb.h is present on host
Bind autoconf scripts look for lmdb.h in /usr/include (even when cross-compiling). When liblmdb-dev is installed, this causes the following error: ... checking for lmdb library... yes checking for library containing mdb_env_create... no configure: error: found lmdb include but not library. Fix this by disabling explicitly lmdb support. Signed-off-by: Robin Jarry <robin.jarry@6wind.com> Signed-off-by: Julien Floret <julien.floret@6wind.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/bind/bind.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/bind/bind.mk b/package/bind/bind.mk
index c65568e..c3d4872 100644
--- a/package/bind/bind.mk
+++ b/package/bind/bind.mk
@@ -30,6 +30,7 @@ BIND_CONF_OPTS = \
--enable-epoll \
--with-libtool \
--with-gssapi=no \
+ --with-lmdb=no \
--enable-filter-aaaa
ifeq ($(BR2_PACKAGE_ZLIB),y)