diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2001-11-24 09:28:42 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2001-11-24 09:28:42 (GMT) |
commit | f5c76776023e925deac6391546bcb85cd0c2424c (patch) | |
tree | c5580dcc14c7491df108aa61336b48377826fc48 | |
parent | 560da62fc75b1c3e38bea915ea648c4d895001a3 (diff) | |
download | cpython-f5c76776023e925deac6391546bcb85cd0c2424c.zip cpython-f5c76776023e925deac6391546bcb85cd0c2424c.tar.gz cpython-f5c76776023e925deac6391546bcb85cd0c2424c.tar.bz2 |
Support bsddb 3.2. Fixes #483653.
-rw-r--r-- | setup.py | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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'] |