projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44f23cd
)
When building shared libraries, only ln -s when simple and full name differ
author
Richard Levitte
<levitte@openssl.org>
Mon, 22 Jan 2018 21:02:36 +0000
(22:02 +0100)
committer
Richard Levitte
<levitte@openssl.org>
Mon, 22 Jan 2018 22:27:55 +0000
(23:27 +0100)
Fixes #5143
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5144)
Configurations/unix-Makefile.tmpl
patch
|
blob
|
history
diff --git
a/Configurations/unix-Makefile.tmpl
b/Configurations/unix-Makefile.tmpl
index 601a8ea3c14e9e366411b40f3ccd25c1dd87be69..6f33fcbd8284a817f9b5aa7f8ab717fbddc5dcbe 100644
(file)
--- 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
}
}