Support bsddb 3.2. Fixes #483653.
This commit is contained in:
parent
560da62fc7
commit
f5c7677602
4
setup.py
4
setup.py
@ -390,7 +390,9 @@ class PyBuildExt(build_ext):
|
||||
# Berkeley DB 3.x.)
|
||||
|
||||
dblib = []
|
||||
if self.compiler.find_library_file(lib_dirs, 'db-3.1'):
|
||||
if self.compiler.find_library_file(lib_dirs, 'db-3.2'):
|
||||
dblib = ['db-3.2']
|
||||
elif self.compiler.find_library_file(lib_dirs, 'db-3.1'):
|
||||
dblib = ['db-3.1']
|
||||
elif self.compiler.find_library_file(lib_dirs, 'db3'):
|
||||
dblib = ['db3']
|
||||
|
Loading…
x
Reference in New Issue
Block a user