python2: Fix disabling module bsddb
PATCH 1/1 python2: Fix disabling module bsddb
Using this minimal defconfig
BR2_TOOLCHAIN_EXTERNAL=y
BR2_PACKAGE_PYTHON=y
BR2_PACKAGE_BERKELEYDB=y
the current code does not prevent the build of
output/build/python-2.7.6/Modules/_bsddb.o
because the module is really called _bsddb,
see python-2.7.6/Modules/_bsddb.c, line 9604.
Signed-off-by Bernd Kuhls <[email protected]>
--- package/python/python-110-optional-db.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/python/python-110-optional-db.patch +1 -1
@@ -70,7 +70,7 @@ Index: b/configure.ac + AS_HELP_STRING([--disable-bsddb], [disable BerkeyleyDB]), + [ if test "$enableval" = "no"; then + BSDDB=no -+ DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} bsddb" ++ DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _bsddb" + else + BSDDB=yes + fi], [ BSDDB=yes ])
Signature · 1 line
1.7.10.4
PATCH 1/1 python2: Fix disabling module bsddb
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Bernd" == Bernd Kuhls <[email protected]> writes:
Using this minimal defconfig
BR2_TOOLCHAIN_EXTERNAL=y
BR2_PACKAGE_PYTHON=y
BR2_PACKAGE_BERKELEYDB=y
Quoted 8 lines
the current code does not prevent the build of
output/build/python-2.7.6/Modules/_bsddb.obecause the module is really called
_bsddb,
seepython-2.7.6/Modules/_bsddb.c, line 9604.Signed-off-by Bernd Kuhls <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard