diff options
author | Richard Levitte <levitte@openssl.org> | 2002-07-31 13:38:32 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2002-07-31 13:38:32 +0000 |
commit | ba25198517eec4e84bf81489b756051dddf40973 (patch) | |
tree | 49f97dd6b52b0ce603806668d24e87532061c46c | |
parent | 6297bcd74cd362664c470b98a50db6aff4128eab (diff) |
ln -f -s doesn't always work, so do a rm -f followed by a ln -s.
Part of PR 181
-rw-r--r-- | Makefile.org | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.org b/Makefile.org index eb3f5370d0..aeebfb6041 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; \ |