diff --git a/Lib/sysconfig.py b/Lib/sysconfig.py index 2f5f7404fff..2a2160cc0d4 100644 --- a/Lib/sysconfig.py +++ b/Lib/sysconfig.py @@ -388,7 +388,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 c2f584ffc02..efe7cb83d33 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -78,6 +78,9 @@ Core and Builtins Library ------- +- Issue #18235: Fix the sysconfig variables LDSHARED and BLDSHARED under AIX. + Patch by David Edelsohn. + - Issue #19276: Fixed the wave module on 64-bit big-endian platforms. - Issue #18776: atexit callbacks now display their full traceback when they