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

Makefile.org

index eb3f537..aeebfb6 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; \