mirror of
https://github.com/python/cpython.git
synced 2025-09-17 14:16:02 +00:00
- Fix build failure on kfreebsd and on the hurd.
This commit is contained in:
parent
a00bcac003
commit
d149d0c76a
2 changed files with 3 additions and 1 deletions
|
@ -186,7 +186,7 @@ class build_ext (Command):
|
||||||
# for extensions under Cygwin and AtheOS Python's library directory must be
|
# for extensions under Cygwin and AtheOS Python's library directory must be
|
||||||
# appended to library_dirs
|
# appended to library_dirs
|
||||||
if sys.platform[:6] == 'cygwin' or sys.platform[:6] == 'atheos' or \
|
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')):
|
sysconfig.get_config_var('Py_ENABLE_SHARED')):
|
||||||
if string.find(sys.executable, sys.exec_prefix) != -1:
|
if string.find(sys.executable, sys.exec_prefix) != -1:
|
||||||
# building third party extensions
|
# building third party extensions
|
||||||
|
|
|
@ -351,6 +351,8 @@ Build
|
||||||
|
|
||||||
- Patch #1540470, for OpenBSD 4.0.
|
- Patch #1540470, for OpenBSD 4.0.
|
||||||
|
|
||||||
|
- Fix build failure on kfreebsd and on the hurd.
|
||||||
|
|
||||||
|
|
||||||
C API
|
C API
|
||||||
-----
|
-----
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue