From: Antoine Pitrou Date: Fri, 1 May 2009 21:16:14 +0000 (+0000) Subject: Issue #5726: Make Modules/ld_so_aix return the actual exit code of the linker, rather... X-Git-Tag: v2.7a1~1322 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3fd4ea9dab5adee0467f71ef3d9400a10acc8654;p=thirdparty%2FPython%2Fcpython.git Issue #5726: Make Modules/ld_so_aix return the actual exit code of the linker, rather than always exit successfully. Patch by Floris Bruynooghe. --- diff --git a/Misc/NEWS b/Misc/NEWS index 51589407d796..1ccb739edc7f 100644 --- 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. diff --git a/Modules/ld_so_aix b/Modules/ld_so_aix index 76afa6e48513..6b83823d19e7 100755 --- a/Modules/ld_so_aix +++ b/Modules/ld_so_aix @@ -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