mirror of
https://git.busybox.net/buildroot.git
synced 2024-12-03 02:13:29 +08:00
package/berkeleydb: add option for historic dbm interface
Berkeley DB support in python depends on dbm, when missing python fails
to detect libdb:
d2340ef257/configure.ac (L4002)
quoting python configure log:
checking for libdb... no
quoting python config.log:
conftest.c:(.text.startup+0x8): undefined reference to `__db_ndbm_open'
This patch provides a configure option for the historic dbm interface
to be used by the python package.
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
084cc7df3f
commit
244a8c52ef
@ -13,6 +13,11 @@ config BR2_PACKAGE_BERKELEYDB_COMPAT185
|
|||||||
help
|
help
|
||||||
Build and install DB 1.85 compatibility API.
|
Build and install DB 1.85 compatibility API.
|
||||||
|
|
||||||
|
config BR2_PACKAGE_BERKELEYDB_DBM
|
||||||
|
bool "historic dbm interface"
|
||||||
|
help
|
||||||
|
Enable the historic dbm interface.
|
||||||
|
|
||||||
config BR2_PACKAGE_BERKELEYDB_TOOLS
|
config BR2_PACKAGE_BERKELEYDB_TOOLS
|
||||||
bool "install tools"
|
bool "install tools"
|
||||||
help
|
help
|
||||||
|
@ -39,6 +39,7 @@ define BERKELEYDB_CONFIGURE_CMDS
|
|||||||
--disable-java \
|
--disable-java \
|
||||||
--disable-tcl \
|
--disable-tcl \
|
||||||
$(if $(BR2_PACKAGE_BERKELEYDB_COMPAT185),--enable-compat185,--disable-compat185) \
|
$(if $(BR2_PACKAGE_BERKELEYDB_COMPAT185),--enable-compat185,--disable-compat185) \
|
||||||
|
$(if $(BR2_PACKAGE_BERKELEYDB_DBM),--enable-dbm,--disable-dbm) \
|
||||||
$(SHARED_STATIC_LIBS_OPTS) \
|
$(SHARED_STATIC_LIBS_OPTS) \
|
||||||
--with-pic \
|
--with-pic \
|
||||||
--enable-o_direct \
|
--enable-o_direct \
|
||||||
|
Loading…
Reference in New Issue
Block a user