summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2013-10-19 22:06:26 +0200
committerAntoine Pitrou <solipsis@pitrou.net>2013-10-19 22:06:26 +0200
commite55013febe5a06f9d5e7c83e1e0b4207e78efb12 (patch)
treeeea47a957f1305d741b9e54ea5ea6b39f3df1706
parent3d9e481ece356d805ee5658600ef2888e35a5609 (diff)
parent0abb21884c422d23013ebd0cbd2c37c09d4ea0c5 (diff)
downloadcpython-git-e55013febe5a06f9d5e7c83e1e0b4207e78efb12.tar.gz
Issue #18235: Fix the sysconfig variables LDSHARED and BLDSHARED under AIX.
Patch by David Edelsohn.
-rw-r--r--Lib/sysconfig.py2
-rw-r--r--Misc/NEWS3
2 files changed, 4 insertions, 1 deletions
diff --git a/Lib/sysconfig.py b/Lib/sysconfig.py
index efc9a84078..776b2f6404 100644
--- a/Lib/sysconfig.py
+++ b/Lib/sysconfig.py
@@ -368,7 +368,7 @@ def _generate_posix_vars():
# -- these paths are relative to the Python source, but when installed
# the scripts are in another directory.
if _PYTHON_BUILD:
- vars['LDSHARED'] = vars['BLDSHARED']
+ vars['BLDSHARED'] = vars['LDSHARED']
# There's a chicken-and-egg situation on OS X with regards to the
# _sysconfigdata module after the changes introduced by #15298:
diff --git a/Misc/NEWS b/Misc/NEWS
index be4635bf55..5d4ac7504a 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -62,6 +62,9 @@ Core and Builtins
Library
-------
+- Issue #18235: Fix the sysconfig variables LDSHARED and BLDSHARED under AIX.
+ Patch by David Edelsohn.
+
- Issue #18606: Add the new "statistics" module (PEP 450). Contributed
by Steven D'Aprano.