1 --- Python-3.3.3/setup.py.orig 2013-11-21 18:36:59.259841950 +0100
2 +++ Python-3.3.3/setup.py 2013-11-21 19:07:23.173098741 +0100
4 # a release. Most open source OSes come with one or more
5 # versions of BerkeleyDB already installed.
10 db_setup_debug = False # verbose debug prints from this script?
12 --- Python-3.6.0/setup.py~ 2016-12-27 23:21:52.000000000 +0100
13 +++ Python-3.6.0/setup.py 2016-12-27 23:28:54.720208583 +0100
14 @@ -1252,16 +1252,7 @@ class PyBuildExt(build_ext):
15 for cand in dbm_order:
17 if find_file("ndbm.h", inc_dirs, []) is not None:
18 - # Some systems have -lndbm, others have -lgdbm_compat,
19 - # others don't have either
20 - if self.compiler.find_library_file(lib_dirs,
22 - ndbm_libs = ['ndbm']
23 - elif self.compiler.find_library_file(lib_dirs,
25 - ndbm_libs = ['gdbm_compat']
28 + ndbm_libs = ['gdbm_compat']
29 if dbm_setup_debug: print("building dbm using ndbm")
30 dbmext = Extension('_dbm', ['_dbmmodule.c'],