Commits

Barry Warsaw committed 67d560d

Link the dbm module against gdbm if it exists and if no earlier
library match was found. This fixes dbm on RedHat 9 and doesn't
appear (so far <wink>) to have any regressions on other *nixes.

  • Participants
  • Parent commits f7dfaea
  • Branches 2.2

Comments (0)

Files changed (1)

             elif self.compiler.find_library_file(lib_dirs, 'db1'):
                 exts.append( Extension('dbm', ['dbmmodule.c'],
                                        libraries = ['db1'] ) )
+            elif self.compiler.find_library_file(lib_dirs, 'gdbm'):
+                exts.append( Extension('dbm', ['dbmmodule.c'],
+                                       libraries = ['gdbm'] ) )
             else:
                 exts.append( Extension('dbm', ['dbmmodule.c']) )