]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Escaped $(LDSHARED) in a string.
authorSjoerd Mullender <sjoerd@acm.org>
Thu, 13 Oct 1994 09:09:05 +0000 (09:09 +0000)
committerSjoerd Mullender <sjoerd@acm.org>
Thu, 13 Oct 1994 09:09:05 +0000 (09:09 +0000)
Modules/makesetup

index 0f2de4b34eec439436e4cf8dd48ec8b032b04e82..2deaf7118e39eb40395d2c996f987fd937a943e0 100755 (executable)
@@ -163,7 +163,7 @@ sed -e 's/[         ]*#.*//' -e '/^[        ]*$/d' |
                        *) src='$(srcdir)/'$src;;
                        esac
                        case $doconfig in
-                       no)     cc="cc $(CCSHARED)";;
+                       no)     cc="cc \$(CCSHARED)";;
                        esac
                        rule="$obj: $src; $cc \$(CFLAGS) $cpps -c $src"
                        echo "$rule" >>$rulesf
@@ -182,7 +182,7 @@ sed -e 's/[         ]*#.*//' -e '/^[        ]*$/d' |
                        no)     SHAREDMODS="$SHAREDMODS $file";;
                        esac
                        rule="$file: $objs"
-                       rule="$rule; $(LDSHARED) $objs $libs -o $file"
+                       rule="$rule; \$(LDSHARED) $objs $libs -o $file"
                        echo "$rule" >>$rulesf
                done
        done