summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/command
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2010-09-10 19:55:19 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2010-09-10 19:55:19 (GMT)
commit80f45a09985d8396209045db236eabb0f8f3bce4 (patch)
treecda1005d65a9038253e98a920c043451471c012c /Lib/distutils/command
parent84c809be5ac34a7a7bf89285e42c9fb6b5f05065 (diff)
downloadcpython-80f45a09985d8396209045db236eabb0f8f3bce4.zip
cpython-80f45a09985d8396209045db236eabb0f8f3bce4.tar.gz
cpython-80f45a09985d8396209045db236eabb0f8f3bce4.tar.bz2
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é. ........
Diffstat (limited to 'Lib/distutils/command')
-rw-r--r--Lib/distutils/command/build_ext.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/distutils/command/build_ext.py b/Lib/distutils/command/build_ext.py
index bd61bc5..4e66464 100644
--- a/Lib/distutils/command/build_ext.py
+++ b/Lib/distutils/command/build_ext.py
@@ -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'):