bind: fix configure in case lmdb devel files are present on the host
authorPeter Seiderer <ps.report@gmx.net>
Tue, 8 Aug 2017 16:57:58 +0000 (18:57 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tue, 8 Aug 2017 18:45:07 +0000 (20:45 +0200)
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@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@gmx.net>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/bind/bind.mk

index 988f40e1c277a05d166d48c7f18a2e1262bcecbc..c65568e9e3800740bbd844033167551797eae5ba 100644 (file)
@@ -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 \