summaryrefslogtreecommitdiffstats
path: root/Makefile.org
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2002-07-31 13:38:32 +0000
committerRichard Levitte <levitte@openssl.org>2002-07-31 13:38:32 +0000
commitba25198517eec4e84bf81489b756051dddf40973 (patch)
tree49f97dd6b52b0ce603806668d24e87532061c46c /Makefile.org
parent6297bcd74cd362664c470b98a50db6aff4128eab (diff)
ln -f -s doesn't always work, so do a rm -f followed by a ln -s.
Part of PR 181
Diffstat (limited to 'Makefile.org')
-rw-r--r--Makefile.org3
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; \