summaryrefslogtreecommitdiffstats
path: root/Makefile.org
diff options
context:
space:
mode:
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; \