mirror of
https://github.com/python/cpython.git
synced 2025-07-19 17:25:54 +00:00
Support bsddb 3.2. Fixes #483653.
This commit is contained in:
parent
560da62fc7
commit
f5c7677602
1 changed files with 3 additions and 1 deletions
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…
Add table
Add a link
Reference in a new issue