bind: fix compilation when lmdb.h is present on host
PATCH 1/1 bind: fix compilation when lmdb.h is present on host
From: Robin Jarry <[email protected]>
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.
--- package/bind/bind.mk | 1 + 1 file changed, 1 insertion(+)
package/bind/bind.mk +1 -0
@@ -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)
Signature · 1 line
2.13.1
Thomas Petazzoni
AppliedPATCH 1/1 bind: fix compilation when lmdb.h is present on host
Hello,
Quoted 11 lines · Julien Floret
From: Robin Jarry <[email protected]>
Bind autoconf scripts look for
lmdb.hin/usr/include(even when cross-compiling). When liblmdb-dev is installed, this causes the following error:...
checking for lmdb library... yes
checking for library containingmdb_env_create... no
configure: error: found lmdb include but not library.
Quoted 7 lines
Fix this by disabling explicitly lmdb support.
Signed-off-by Robin Jarry <[email protected]>Signed-off-by Julien Floret <[email protected]>--- package/bind/bind.mk | 1 + 1 file changed, 1 insertion(+)
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com