[Python-checkins] r52910 - in python/trunk: Lib/distutils/command/build_ext.py Misc/NEWS

matthias.klose python-checkins at python.org
Sun Dec 3 18:16:42 CET 2006


Author: matthias.klose
Date: Sun Dec  3 18:16:41 2006
New Revision: 52910

Modified:
   python/trunk/Lib/distutils/command/build_ext.py
   python/trunk/Misc/NEWS
Log:
- Fix build failure on kfreebsd and on the hurd.


Modified: python/trunk/Lib/distutils/command/build_ext.py
==============================================================================
--- python/trunk/Lib/distutils/command/build_ext.py	(original)
+++ python/trunk/Lib/distutils/command/build_ext.py	Sun Dec  3 18:16:41 2006
@@ -186,7 +186,7 @@
         # for extensions under Cygwin and AtheOS Python's library directory must be
         # appended to library_dirs
         if sys.platform[:6] == 'cygwin' or sys.platform[:6] == 'atheos' or \
-               (sys.platform.startswith('linux') and
+               ((sys.platform.startswith('linux') or sys.platform.startswith('gnu')) and
                 sysconfig.get_config_var('Py_ENABLE_SHARED')):
             if string.find(sys.executable, sys.exec_prefix) != -1:
                 # building third party extensions

Modified: python/trunk/Misc/NEWS
==============================================================================
--- python/trunk/Misc/NEWS	(original)
+++ python/trunk/Misc/NEWS	Sun Dec  3 18:16:41 2006
@@ -351,6 +351,8 @@
 
 - Patch #1540470, for OpenBSD 4.0.
 
+- Fix build failure on kfreebsd and on the hurd.
+
 
 C API
 -----


More information about the Python-checkins mailing list