From f5c76776023e925deac6391546bcb85cd0c2424c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Sat, 24 Nov 2001 09:28:42 +0000 Subject: Support bsddb 3.2. Fixes #483653. --- setup.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index c15bd7c..949110e 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'] -- cgit v0.12