summaryrefslogtreecommitdiffstats
path: root/Modules/ld_so_aix
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2009-05-01 21:24:56 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2009-05-01 21:24:56 (GMT)
commit8151da0f61f43a21528958fd9d4d8090e7a4931f (patch)
tree6507225ef7573133ced51b3ebb7e29055e4782d5 /Modules/ld_so_aix
parentef46d8240fd2544585697511388d110889df776b (diff)
downloadcpython-8151da0f61f43a21528958fd9d4d8090e7a4931f.zip
cpython-8151da0f61f43a21528958fd9d4d8090e7a4931f.tar.gz
cpython-8151da0f61f43a21528958fd9d4d8090e7a4931f.tar.bz2
Merged revisions 72180 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r72180 | antoine.pitrou | 2009-05-01 23:16:14 +0200 (ven., 01 mai 2009) | 4 lines Issue #5726: Make Modules/ld_so_aix return the actual exit code of the linker, rather than always exit successfully. Patch by Floris Bruynooghe. ........
Diffstat (limited to 'Modules/ld_so_aix')
-rwxr-xr-xModules/ld_so_aix3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/ld_so_aix b/Modules/ld_so_aix
index 76afa6e..6b83823 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