Escaped $(LDSHARED) in a string.

This commit is contained in:
Sjoerd Mullender 1994-10-13 09:09:05 +00:00
parent c94d53db0e
commit 4eba0c9b91

View File

@ -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