]> granicus.if.org Git - python/commitdiff
- Fix build failure on kfreebsd and on the hurd.
authorMatthias Klose <doko@ubuntu.com>
Sun, 3 Dec 2006 17:16:41 +0000 (17:16 +0000)
committerMatthias Klose <doko@ubuntu.com>
Sun, 3 Dec 2006 17:16:41 +0000 (17:16 +0000)
Lib/distutils/command/build_ext.py
Misc/NEWS

index 00f8a6b9ae728303fb3f4c6e066e9d2dda745759..2413829369278096960cbf9d9ba9be491fb5e99d 100644 (file)
@@ -186,7 +186,7 @@ class build_ext (Command):
         # 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
index ef6f951013a7e7b57002f44ec7f081d0e6e090e6..856ee4cb65952d733a2c86561eb1117fdf9c933b 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -351,6 +351,8 @@ Build
 
 - Patch #1540470, for OpenBSD 4.0.
 
+- Fix build failure on kfreebsd and on the hurd.
+
 
 C API
 -----