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:
Antoine Pitrou 2010-09-10 19:44:44 +00:00
parent dfa9b294fa
commit 8e6b407d6f
6 changed files with 40 additions and 13 deletions

View file

@ -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'):