diff options
author | Andrew MacIntyre <andymac@bullseye.apana.org.au> | 2005-03-09 22:21:08 (GMT) |
---|---|---|
committer | Andrew MacIntyre <andymac@bullseye.apana.org.au> | 2005-03-09 22:21:08 (GMT) |
commit | 953f98d4bdd27c74e2c4220b90e20f8e6e6c8b7f (patch) | |
tree | d034d1c28d75b2c40db974566635e522e2a8a6af | |
parent | 984f9bb7140683fa9b950b42a035477108aba88f (diff) | |
download | cpython-953f98d4bdd27c74e2c4220b90e20f8e6e6c8b7f.zip cpython-953f98d4bdd27c74e2c4220b90e20f8e6e6c8b7f.tar.gz cpython-953f98d4bdd27c74e2c4220b90e20f8e6e6c8b7f.tar.bz2 |
add support for another DB library naming convention (FreeBSD ports)
-rw-r--r-- | setup.py | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -598,7 +598,9 @@ class PyBuildExt(build_ext): # XXX should we -ever- look for a dbX name? Do any # systems really not name their library by version and # symlink to more general names? - for dblib in (('db-%d.%d' % db_ver), ('db%d' % db_ver[0])): + for dblib in (('db-%d.%d' % db_ver), + ('db%d%d' % db_ver), + ('db%d' % db_ver[0])): dblib_file = self.compiler.find_library_file( db_dirs_to_check + lib_dirs, dblib ) if dblib_file: |