From: Martin v. Löwis Date: Sat, 24 Nov 2001 09:28:42 +0000 (+0000) Subject: Support bsddb 3.2. Fixes #483653. X-Git-Tag: v2.2.1c1~713 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f5c76776023e925deac6391546bcb85cd0c2424c;p=python Support bsddb 3.2. Fixes #483653. --- diff --git a/setup.py b/setup.py index c15bd7cf90..949110e5d5 100644 --- a/setup.py +++ b/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']