diff --git a/Makefile.org b/Makefile.org index eb3f5370d038259bdd12986386a057ab06d5dcfe..aeebfb60411535b3b22c14c77f62155a7c9cedae 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; \