[Python-checkins] r52909 - in python/branches/release25-maint: Lib/distutils/command/build_ext.py Misc/NEWS

matthias.klose python-checkins at python.org
Sun Dec 3 18:13:55 CET 2006


Author: matthias.klose
Date: Sun Dec  3 18:13:54 2006
New Revision: 52909

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


Modified: python/branches/release25-maint/Lib/distutils/command/build_ext.py
==============================================================================
--- python/branches/release25-maint/Lib/distutils/command/build_ext.py	(original)
+++ python/branches/release25-maint/Lib/distutils/command/build_ext.py	Sun Dec  3 18:13:54 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/branches/release25-maint/Misc/NEWS
==============================================================================
--- python/branches/release25-maint/Misc/NEWS	(original)
+++ python/branches/release25-maint/Misc/NEWS	Sun Dec  3 18:13:54 2006
@@ -214,6 +214,8 @@
 - Patch #1576954: Update VC6 build directory; remove redundant
   files in VC7.
 
+- Fix build failure on kfreebsd and on the hurd.
+
 
 Windows
 -------


More information about the Python-checkins mailing list