Issue #18235: Fix the sysconfig variables LDSHARED and BLDSHARED under AIX.
authorAntoine Pitrou <solipsis@pitrou.net>
Sat, 19 Oct 2013 20:05:05 +0000 (22:05 +0200)
committerAntoine Pitrou <solipsis@pitrou.net>
Sat, 19 Oct 2013 20:05:05 +0000 (22:05 +0200)
Patch by David Edelsohn.

Lib/sysconfig.py
Misc/NEWS

index 2f5f7404fff5c80a1e6e5f50213d025a843ab5c5..2a2160cc0d41bb2b6a0598a50df59d7fb3bba2e3 100644 (file)
@@ -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:
index c2f584ffc0248f5b5403244c209cddbe8d978d96..efe7cb83d3334a431fbb3453db6bd4b21a56ad8f 100644 (file)
--- 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