summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.