[Buildroot] [git commit branch/2017.02.x] bind: fix configure in case lmdb devel files are present on the host

Peter Korsgaard peter at korsgaard.com
Tue Sep 5 21:26:32 UTC 2017


commit: https://git.buildroot.net/buildroot/commit/?id=da9f101e8000c17b56fa18c538a6f6233e93046c
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2017.02.x

Fix configure failure in case lmdb devel files are present on the host
by adding --without-lmdb option (reported [1] and fix tested [2],[3] by
grunpferd at netscape.net).

Fixes:

  checking for lmdb library... yes
  checking for library containing mdb_env_create... no
  configure: error: found lmdb include but not library.

[1] http://lists.busybox.net/pipermail/buildroot/2017-August/199945.html
[2] http://lists.busybox.net/pipermail/buildroot/2017-August/199963.html
[3] http://lists.busybox.net/pipermail/buildroot/2017-August/199964.html

Signed-off-by: Peter Seiderer <ps.report at gmx.net>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
(cherry picked from commit bb95fef1e0bec4ebc0584001f337438b17c4744d)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/bind/bind.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/bind/bind.mk b/package/bind/bind.mk
index acc0911..c5208c0 100644
--- a/package/bind/bind.mk
+++ b/package/bind/bind.mk
@@ -24,6 +24,7 @@ BIND_CONF_ENV = \
 	BUILD_CC="$(TARGET_CC)" \
 	BUILD_CFLAGS="$(TARGET_CFLAGS)"
 BIND_CONF_OPTS = \
+	--without-lmdb \
 	--with-libjson=no \
 	--with-randomdev=/dev/urandom \
 	--enable-epoll \


More information about the buildroot mailing list