]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Find bdb4 correctly on gentoo systems (this matches head)
authorNeal Norwitz <nnorwitz@gmail.com>
Wed, 25 Jan 2006 08:18:43 +0000 (08:18 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Wed, 25 Jan 2006 08:18:43 +0000 (08:18 +0000)
setup.py

index 476b43d3d7b8eeb044091e7dce1616d47cf77ac4..4bf05107e123b58d569e341eb8ab2792f6bfdfda 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -509,6 +509,7 @@ class PyBuildExt(build_ext):
         # 4.x minor number specific paths
         for x in (0,1,2,3,4):
             db_inc_paths.append('/usr/include/db4%d' % x)
+            db_inc_paths.append('/usr/include/db4.%d' % x)
             db_inc_paths.append('/usr/local/BerkeleyDB.4.%d/include' % x)
             db_inc_paths.append('/usr/local/include/db4%d' % x)
             db_inc_paths.append('/pkg/db-4.%d/include' % x)