Merged revisions 84680 via svnmerge from

svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84680 | antoine.pitrou | 2010-09-10 21:44:44 +0200 (ven., 10 sept. 2010) | 4 lines

  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 20:03:17 +00:00
parent b170f17bac
commit aabdceba51
6 changed files with 40 additions and 14 deletions

View file

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