summaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2001-11-24 09:28:42 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2001-11-24 09:28:42 (GMT)
commitf5c76776023e925deac6391546bcb85cd0c2424c (patch)
treec5580dcc14c7491df108aa61336b48377826fc48 /setup.py
parent560da62fc75b1c3e38bea915ea648c4d895001a3 (diff)
downloadcpython-f5c76776023e925deac6391546bcb85cd0c2424c.zip
cpython-f5c76776023e925deac6391546bcb85cd0c2424c.tar.gz
cpython-f5c76776023e925deac6391546bcb85cd0c2424c.tar.bz2
Support bsddb 3.2. Fixes #483653.
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py4
1 files changed, 3 insertions, 1 deletions
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']