[Python-Dev] Python 2.2.3 setup.py patch for RH9 (redux)
Barry Warsaw
barry@python.org
22 May 2003 12:43:21 -0400
--=-GNmTfOCl3Eqs11XlSBK0
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Back here:
http://mail.python.org/pipermail/python-dev/2003-April/035120.html
I mentioned a failure with dbm module on RedHat 9 which does not fail
for RedHat 7.3. Here's I think a slightly better patch that I'd like to
commit. Anybody else who's doing testing on other systems, could you
please try this out and let me know if it causes any problems?
Thanks,
-Barry
--=-GNmTfOCl3Eqs11XlSBK0
Content-Disposition: attachment; filename=setup.py-patch
Content-Type: text/x-patch; name=setup.py-patch; charset=ISO-8859-15
Content-Transfer-Encoding: 7bit
Index: setup.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/setup.py,v
retrieving revision 1.73.4.18
diff -u -r1.73.4.18 setup.py
--- setup.py 18 May 2003 13:42:58 -0000 1.73.4.18
+++ setup.py 22 May 2003 16:39:08 -0000
@@ -406,6 +406,9 @@
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']) )
--=-GNmTfOCl3Eqs11XlSBK0--