summaryrefslogtreecommitdiffstats
path: root/Modules/ld_so_aix
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2009-05-01 21:16:14 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2009-05-01 21:16:14 (GMT)
commit3fd4ea9dab5adee0467f71ef3d9400a10acc8654 (patch)
tree1d75b60db2f24b4ed06641a5e7be862e3a6a30b3 /Modules/ld_so_aix
parent1fc0231a22f00afffff890e0cf0078dd7d0cf582 (diff)
downloadcpython-3fd4ea9dab5adee0467f71ef3d9400a10acc8654.zip
cpython-3fd4ea9dab5adee0467f71ef3d9400a10acc8654.tar.gz
cpython-3fd4ea9dab5adee0467f71ef3d9400a10acc8654.tar.bz2
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