]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
If an argument on a Setup line starts with `$', treat it as a library,
authorSjoerd Mullender <sjoerd@acm.org>
Mon, 12 Sep 1994 15:31:01 +0000 (15:31 +0000)
committerSjoerd Mullender <sjoerd@acm.org>
Mon, 12 Sep 1994 15:31:01 +0000 (15:31 +0000)
but only if it does not end in a known suffix.

Modules/makesetup

index 35294c06207032abea38db893fe2beeaccb72f04..0f2de4b34eec439436e4cf8dd48ec8b032b04e82 100755 (executable)
@@ -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";;