- Fix build failure on kfreebsd and on the hurd.

This commit is contained in:
Matthias Klose 2006-12-03 17:13:54 +00:00
parent 95b744cea9
commit fa713e18f6
2 changed files with 3 additions and 1 deletions

View 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

View File

@ -214,6 +214,8 @@ Build
- Patch #1576954: Update VC6 build directory; remove redundant
files in VC7.
- Fix build failure on kfreebsd and on the hurd.
Windows
-------