summaryrefslogtreecommitdiff
path: root/Modules/ld_so_aix
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-09-03 00:45:30 +0000
committerGuido van Rossum <guido@python.org>1997-09-03 00:45:30 +0000
commitfd6d7a0c6168a345c0ba9756303ba31fd5ec8648 (patch)
tree7146e1b7bde89b3cabc774d37fcd515a11a464cd /Modules/ld_so_aix
parent373d3f2b577c83ec907fde3b3f4c1d42fec6bbb2 (diff)
downloadcpython-fd6d7a0c6168a345c0ba9756303ba31fd5ec8648.tar.gz
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 7106c0bca8..b9aba4c596 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