mirror of
https://github.com/openssl/openssl.git
synced 2025-01-18 13:44:20 +08:00
Unix build file template: symlink "simple" to "full" shlib selectively
On Unix-like platforms where the shared library comes in a form with and a form without SO version number, the one without is symbolically linked to the one with. However, we have Unix-like platforms where we don't deal with SO version numbers, and where the "simple" shlib thereby ends up being symbolically linked to itself. A simple check of the two shlib file names is enough to ensure that we only do the symbolic link when actually necessary. Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/14726)
This commit is contained in:
parent
8f81e3a184
commit
3bf7c3a166
@ -1607,7 +1607,7 @@ EOF
|
||||
|
||||
my $recipe = '';
|
||||
|
||||
if (defined $simple) {
|
||||
if (defined $simple && $simple ne $full) {
|
||||
if (sharedaix()) {
|
||||
$recipe .= <<"EOF";
|
||||
$simple: $full
|
||||
|
Loading…
Reference in New Issue
Block a user