diff options
author | Sjoerd Mullender <sjoerd@acm.org> | 1994-09-12 15:31:01 (GMT) |
---|---|---|
committer | Sjoerd Mullender <sjoerd@acm.org> | 1994-09-12 15:31:01 (GMT) |
commit | 73737abeadbfd000fe21b6c2332558b2f5546c74 (patch) | |
tree | 17dd74ae9ab3034a1f969b79e1d405038a65fc07 /Modules/makesetup | |
parent | 0a516c99ddb5b08e0383c2dc9349bd0866eef582 (diff) | |
download | cpython-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.
Diffstat (limited to 'Modules/makesetup')
-rwxr-xr-x | Modules/makesetup | 1 |
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";; |