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:50 +0000 (13:38 +0000)
committerRichard Levitte <levitte@openssl.org>
Wed, 31 Jul 2002 13:38:50 +0000 (13:38 +0000)
Part of PR 181

Makefile.org

index 2ee1656498dd83e1face25538c07fe2e90c9b678..e8a5afc3db8203469b9eb634e0b28a8160492935 100644 (file)
@@ -247,7 +247,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; \