summaryrefslogtreecommitdiffstats
path: root/Modules/ld_so_aix
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-09-03 00:45:30 (GMT)
committerGuido van Rossum <guido@python.org>1997-09-03 00:45:30 (GMT)
commit5ade0849020cc241fd6a9af47b7c84746440c1ed (patch)
tree65ef84a5e2be506595d232be239c6f6ce476e255 /Modules/ld_so_aix
parent3f0bff666dfd09b1fd80f335362fe7184b4a1135 (diff)
downloadcpython-5ade0849020cc241fd6a9af47b7c84746440c1ed.zip
cpython-5ade0849020cc241fd6a9af47b7c84746440c1ed.tar.gz
cpython-5ade0849020cc241fd6a9af47b7c84746440c1ed.tar.bz2
Mod suggested by Donn Cave -- invoke makexp_aix relative to $0
so it doesn't have to be on $PATH.
Diffstat (limited to 'Modules/ld_so_aix')
-rwxr-xr-xModules/ld_so_aix6
1 files changed, 4 insertions, 2 deletions
diff --git a/Modules/ld_so_aix b/Modules/ld_so_aix
index 7106c0b..b9aba4c 100755
--- a/Modules/ld_so_aix
+++ b/Modules/ld_so_aix
@@ -69,6 +69,8 @@ if test ! -n "$*"; then
echo $usage; exit 2
fi
+makexp=`dirname $0`/makexp_aix
+
# Check for existence of compiler.
CC=$1; shift
whichcc=`which $CC`
@@ -169,8 +171,8 @@ CCOPT="$CCOPT -Wl,-bM:SRE -Wl,-T512 -Wl,-H512 -lm -o $objfile"
CCARGS="$args"
# Export list generation.
-#echo makexp_aix $expfile "$objfile" $objs
-makexp_aix $expfile "$objfile" $objs
+#echo $makexp $expfile "$objfile" $objs
+$makexp $expfile "$objfile" $objs
# Perform the link.
#echo $CC $CCOPT $CCARGS