From: Richard Levitte Date: Wed, 31 Jul 2002 13:38:50 +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_6f~12 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d5f71f40a5891d4ac87e941b47cf06c5a6d80be1;p=openssl 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 2ee1656498..e8a5afc3db 100644 --- a/Makefile.org +++ b/Makefile.org @@ -247,7 +247,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; \