mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Issue #941346: Improve the build process under AIX and allow Python to
be built as a shared library. Patch by Sébastien Sablé.
This commit is contained in:
parent
dfa9b294fa
commit
8e6b407d6f
6 changed files with 40 additions and 13 deletions
|
@ -748,6 +748,9 @@ class build_ext(Command):
|
|||
elif sys.platform == 'darwin':
|
||||
# Don't use the default code below
|
||||
return ext.libraries
|
||||
elif sys.platform[:3] == 'aix':
|
||||
# Don't use the default code below
|
||||
return ext.libraries
|
||||
else:
|
||||
from distutils import sysconfig
|
||||
if sysconfig.get_config_var('Py_ENABLE_SHARED'):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue