summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/command
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2010-09-10 19:44:44 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2010-09-10 19:44:44 (GMT)
commit8e6b407d6fdca02f84409790a4c1f92478ac8dc1 (patch)
tree8eacdf08153b0656255fc9eb691a62698f485057 /Lib/distutils/command
parentdfa9b294fac33934547b5f7b7542466c469e6599 (diff)
downloadcpython-8e6b407d6fdca02f84409790a4c1f92478ac8dc1.zip
cpython-8e6b407d6fdca02f84409790a4c1f92478ac8dc1.tar.gz
cpython-8e6b407d6fdca02f84409790a4c1f92478ac8dc1.tar.bz2
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'):