]> granicus.if.org Git - python/commitdiff
Issue #5726: Make Modules/ld_so_aix return the actual exit code of the linker, rather...
authorAntoine Pitrou <solipsis@pitrou.net>
Fri, 1 May 2009 21:16:14 +0000 (21:16 +0000)
committerAntoine Pitrou <solipsis@pitrou.net>
Fri, 1 May 2009 21:16:14 +0000 (21:16 +0000)
Patch by Floris Bruynooghe.

Misc/NEWS
Modules/ld_so_aix

index 51589407d796088d4d5bc4963bcbbb22946e38fe..1ccb739edc7f4920b0e9ae3e159b5cea4f7a6fda 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -826,6 +826,9 @@ Tools/Demos
 Build
 -----
 
+- Issue #5726: Make Modules/ld_so_aix return the actual exit code of the
+  linker, rather than always exit successfully. Patch by Floris Bruynooghe.
+
 - Issue #4587: Add configure option --with-dbmliborder=db1:db2:... to specify
   the order that backends for the dbm extension are checked. 
 
index 76afa6e485132e8683646235fa5ae5ec9d222630..6b83823d19e732107ed3ebe26edcf76baeb4b659 100755 (executable)
@@ -181,7 +181,10 @@ $makexp $expfile "$objfile" $objs
 # Perform the link.
 #echo $CC $CCOPT $CCARGS
 $CC $CCOPT $CCARGS
+retval=$?
 
 # Delete the module's export list file.
 # Comment this line if you need it.
 rm -f $expfile
+
+exit $retval