From: Richard Levitte Date: Wed, 31 Jul 2002 13:38:39 +0000 (+0000) Subject: ln -f -s doesn't always work, so do a rm -f followed by a ln -s. X-Git-Tag: OpenSSL_0_9_7-beta4~239 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2ead4a5df6c981ecf6cc492789c3b30412376355;p=oweals%2Fopenssl.git ln -f -s doesn't always work, so do a rm -f followed by a ln -s. Part of PR 181 --- diff --git a/Makefile.org b/Makefile.org index 8808dd7922..8a66b3a577 100644 --- a/Makefile.org +++ b/Makefile.org @@ -251,7 +251,8 @@ link-shared: for i in $(SHLIBDIRS); do \ prev=lib$$i$(SHLIB_EXT); \ for j in $${tmp:-x}; do \ - ( set -x; ln -f -s $$prev lib$$i$$j ); \ + ( set -x; \ + rm -f lib$$i$$j; ln -s $$prev lib$$i$$j ); \ prev=lib$$i$$j; \ done; \ done; \