summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/command/build_ext.py
diff options
context:
space:
mode:
authorMatthias Klose <doko@ubuntu.com>2006-12-03 17:13:54 (GMT)
committerMatthias Klose <doko@ubuntu.com>2006-12-03 17:13:54 (GMT)
commitfa713e18f6f7b3ef253fbd2c36a8814de1b3f607 (patch)
tree8160dc394e278757533460f67ebf8a09eee1211d /Lib/distutils/command/build_ext.py
parent95b744cea98be482c44fed4ff3a3e48bf910410c (diff)
downloadcpython-fa713e18f6f7b3ef253fbd2c36a8814de1b3f607.zip
cpython-fa713e18f6f7b3ef253fbd2c36a8814de1b3f607.tar.gz
cpython-fa713e18f6f7b3ef253fbd2c36a8814de1b3f607.tar.bz2
- Fix build failure on kfreebsd and on the hurd.
Diffstat (limited to 'Lib/distutils/command/build_ext.py')
-rw-r--r--Lib/distutils/command/build_ext.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/distutils/command/build_ext.py b/Lib/distutils/command/build_ext.py
index 00f8a6b..2413829 100644
--- a/Lib/distutils/command/build_ext.py
+++ b/Lib/distutils/command/build_ext.py
@@ -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