Commit f5c76776 authored by Martin v. Löwis's avatar Martin v. Löwis

Support bsddb 3.2. Fixes #483653.

parent 560da62f
...@@ -390,7 +390,9 @@ class PyBuildExt(build_ext): ...@@ -390,7 +390,9 @@ class PyBuildExt(build_ext):
# Berkeley DB 3.x.) # Berkeley DB 3.x.)
dblib = [] 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'] dblib = ['db-3.1']
elif self.compiler.find_library_file(lib_dirs, 'db3'): elif self.compiler.find_library_file(lib_dirs, 'db3'):
dblib = ['db3'] dblib = ['db3']
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment