summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSjoerd Mullender <sjoerd@acm.org>1994-09-12 15:31:01 (GMT)
committerSjoerd Mullender <sjoerd@acm.org>1994-09-12 15:31:01 (GMT)
commit73737abeadbfd000fe21b6c2332558b2f5546c74 (patch)
tree17dd74ae9ab3034a1f969b79e1d405038a65fc07
parent0a516c99ddb5b08e0383c2dc9349bd0866eef582 (diff)
downloadcpython-73737abeadbfd000fe21b6c2332558b2f5546c74.zip
cpython-73737abeadbfd000fe21b6c2332558b2f5546c74.tar.gz
cpython-73737abeadbfd000fe21b6c2332558b2f5546c74.tar.bz2
If an argument on a Setup line starts with `$', treat it as a library,
but only if it does not end in a known suffix.
-rwxr-xr-xModules/makesetup1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/makesetup b/Modules/makesetup
index 35294c0..0f2de4b 100755
--- a/Modules/makesetup
+++ b/Modules/makesetup
@@ -130,6 +130,7 @@ sed -e 's/[ ]*#.*//' -e '/^[ ]*$/d' |
*.[cC]) srcs="$srcs $arg";;
*.cc) srcs="$srcs $arg";;
*.c++) srcs="$srcs $arg";;
+ \$*) libs="$libs $arg";;
*.*) echo 1>&2 "bad word $arg in $line"
exit 1;;
[a-zA-Z_]*) mods="$mods $arg";;