ln -f -s doesn't always work, so do a rm -f followed by a ln -s.
authorRichard Levitte <levitte@openssl.org>
Wed, 31 Jul 2002 13:38:39 +0000 (13:38 +0000)
committerRichard Levitte <levitte@openssl.org>
Wed, 31 Jul 2002 13:38:39 +0000 (13:38 +0000)
Part of PR 181

Makefile.org

index 8808dd7922640f49b4eb4e3ae4558b56c9d3d90c..8a66b3a5771d79bbdc05cdcb3eeeb50aebe43924 100644 (file)
@@ -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; \