python2: Fix disabling module bsddb
authorBernd Kuhls <bernd.kuhls@t-online.de>
Wed, 21 May 2014 11:47:44 +0000 (13:47 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 26 May 2014 10:13:38 +0000 (12:13 +0200)
commit2b9d07fb5d4c334d14966e1ee599d7fcbb42fdeb
tree6d09427e32c842a46321d3c8ff5f00ddc54190cf
parentf1a3e0cb1be043bb8efe91a415615440f7ba94a4
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 <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/python/python-110-optional-db.patch