mirror of https://github.com/openssl/openssl.git
Configuration: Fix incorrect $unified_info{attributes} references
Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15758)
This commit is contained in:
parent
a6f8e131f4
commit
3c121b986c
|
@ -512,7 +512,7 @@ sub doscript {
|
||||||
return "" if $cache{$script};
|
return "" if $cache{$script};
|
||||||
$self->emit('in2script',
|
$self->emit('in2script',
|
||||||
script => $script,
|
script => $script,
|
||||||
attrs => $self->{info}->{attributes}->{$script} // {},
|
attrs => $self->{info}->{attributes}->{scripts}->{$script} // {},
|
||||||
sources => $self->{info}->{sources}->{$script});
|
sources => $self->{info}->{sources}->{$script});
|
||||||
$cache{$script} = 1;
|
$cache{$script} = 1;
|
||||||
}
|
}
|
||||||
|
|
|
@ -22,7 +22,8 @@ sub staticname {
|
||||||
# Non-installed libraries are *always* static, and their names remain
|
# Non-installed libraries are *always* static, and their names remain
|
||||||
# the same, except for the mandatory extension
|
# the same, except for the mandatory extension
|
||||||
my $in_libname = platform::BASE->staticname($_[1]);
|
my $in_libname = platform::BASE->staticname($_[1]);
|
||||||
return $in_libname if $unified_info{attributes}->{$_[1]}->{noinst};
|
return $in_libname
|
||||||
|
if $unified_info{attributes}->{libraries}->{$_[1]}->{noinst};
|
||||||
|
|
||||||
return platform::BASE->staticname($_[1]) . '_a';
|
return platform::BASE->staticname($_[1]) . '_a';
|
||||||
}
|
}
|
||||||
|
|
|
@ -45,7 +45,8 @@ sub staticname {
|
||||||
# Non-installed libraries are *always* static, and their names remain
|
# Non-installed libraries are *always* static, and their names remain
|
||||||
# the same, except for the mandatory extension
|
# the same, except for the mandatory extension
|
||||||
my $in_libname = platform::BASE->staticname($_[1]);
|
my $in_libname = platform::BASE->staticname($_[1]);
|
||||||
return $in_libname if $unified_info{attributes}->{$_[1]}->{noinst};
|
return $in_libname
|
||||||
|
if $unified_info{attributes}->{libraries}->{$_[1]}->{noinst};
|
||||||
|
|
||||||
# We currently return the same name anyway... but we might choose to
|
# We currently return the same name anyway... but we might choose to
|
||||||
# append '_static' or '_a' some time in the future.
|
# append '_static' or '_a' some time in the future.
|
||||||
|
|
|
@ -30,7 +30,8 @@ sub staticname {
|
||||||
# Non-installed libraries are *always* static, and their names remain
|
# Non-installed libraries are *always* static, and their names remain
|
||||||
# the same, except for the mandatory extension
|
# the same, except for the mandatory extension
|
||||||
my $in_libname = platform::BASE->staticname($_[1]);
|
my $in_libname = platform::BASE->staticname($_[1]);
|
||||||
return $in_libname if $unified_info{attributes}->{$_[1]}->{noinst};
|
return $in_libname
|
||||||
|
if $unified_info{attributes}->{libraries}->{$_[1]}->{noinst};
|
||||||
|
|
||||||
# To make sure not to clash with an import library, we make the static
|
# To make sure not to clash with an import library, we make the static
|
||||||
# variant of our installed libraries get '_static' added to their names.
|
# variant of our installed libraries get '_static' added to their names.
|
||||||
|
|
|
@ -4,7 +4,7 @@ ${-
|
||||||
my $bldtop = rel2abs($config{builddir});
|
my $bldtop = rel2abs($config{builddir});
|
||||||
our %names = ( map { platform->sharedname($_) =>
|
our %names = ( map { platform->sharedname($_) =>
|
||||||
$bldtop.platform->sharedlib($_) }
|
$bldtop.platform->sharedlib($_) }
|
||||||
grep { !$unified_info{attributes}->{$_}->{noinst} }
|
grep { !$unified_info{attributes}->{libraries}->{$_}->{noinst} }
|
||||||
@{$unified_info{libraries}} );
|
@{$unified_info{libraries}} );
|
||||||
"" -}
|
"" -}
|
||||||
$ ! Create a local environment with the shared library logical names
|
$ ! Create a local environment with the shared library logical names
|
||||||
|
|
|
@ -4,7 +4,7 @@ ${-
|
||||||
my $bldtop = rel2abs($config{builddir});
|
my $bldtop = rel2abs($config{builddir});
|
||||||
our %names = ( map { platform->sharedname($_) =>
|
our %names = ( map { platform->sharedname($_) =>
|
||||||
$bldtop.platform->sharedlib($_) }
|
$bldtop.platform->sharedlib($_) }
|
||||||
grep { !$unified_info{attributes}->{$_}->{noinst} }
|
grep { !$unified_info{attributes}->{libraries}->{$_}->{noinst} }
|
||||||
@{$unified_info{libraries}} );
|
@{$unified_info{libraries}} );
|
||||||
"" -}
|
"" -}
|
||||||
$ ! Remove the local environment created by local_shlib.com
|
$ ! Remove the local environment created by local_shlib.com
|
||||||
|
|
Loading…
Reference in New Issue