Kaydet (Commit) e81f4478 authored tarafından Skip Montanaro's avatar Skip Montanaro

This is supposed to help configure better sort out the various libdb

incarnations.  It's probably not quite sufficient, but should be better than
the status quo...
üst d1ed15ed
......@@ -389,7 +389,13 @@ class PyBuildExt(build_ext):
# BSD DB 3.x.)
dblib = []
if self.compiler.find_library_file(lib_dirs, 'db'):
if self.compiler.find_library_file(lib_dirs, 'db-3.1'):
dblib = ['db-3.1']
elif self.compiler.find_library_file(lib_dirs, 'db2'):
dblib = ['db2']
elif self.compiler.find_library_file(lib_dirs, 'db1'):
dblib = ['db1']
elif self.compiler.find_library_file(lib_dirs, 'db'):
dblib = ['db']
db185_incs = find_file('db_185.h', inc_dirs,
......
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