[openssl-commits] [openssl] master update

Richard Levitte levitte at openssl.org
Mon Jan 22 22:28:01 UTC 2018


The branch master has been updated
       via  50625bf5c374b0fe213501fb93c3a2168e8ba844 (commit)
      from  44f23cd281f2ec58c41c7a12b0f4aac10ccd8782 (commit)


- Log -----------------------------------------------------------------
commit 50625bf5c374b0fe213501fb93c3a2168e8ba844
Author: Richard Levitte <levitte at openssl.org>
Date:   Mon Jan 22 22:02:36 2018 +0100

    When building shared libraries, only ln -s when simple and full name differ
    
    Fixes #5143
    
    Reviewed-by: Tim Hudson <tjh at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/5144)

-----------------------------------------------------------------------

Summary of changes:
 Configurations/unix-Makefile.tmpl | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/Configurations/unix-Makefile.tmpl b/Configurations/unix-Makefile.tmpl
index 601a8ea..6f33fcb 100644
--- a/Configurations/unix-Makefile.tmpl
+++ b/Configurations/unix-Makefile.tmpl
@@ -994,8 +994,10 @@ EOF
 EOF
       } else {
           $recipe .= <<"EOF";
-	rm -f $target
-	ln -s $target_full $target
+	if [ '$target' != '$target_full' ]; then \\
+		rm -f $target; \\
+		ln -s $target_full $target; \\
+	fi
 EOF
       }
   }


More information about the openssl-commits mailing list