mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
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.
This commit is contained in:
parent
0a516c99dd
commit
73737abead
1 changed files with 1 additions and 0 deletions
|
|
@ -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";;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue