mirror of
https://github.com/openssl/openssl.git
synced 2025-01-30 14:01:55 +08:00
configdata.pm: ensure $prefix is defined
Fixes #5471 Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/5472)
This commit is contained in:
parent
d070b4ae78
commit
b700bc5966
@ -2444,6 +2444,7 @@ _____
|
|||||||
my $prefix = '';
|
my $prefix = '';
|
||||||
$prefix = $config{cross_compile_prefix}
|
$prefix = $config{cross_compile_prefix}
|
||||||
if grep { $var eq $_ } @user_crossable;
|
if grep { $var eq $_ } @user_crossable;
|
||||||
|
$prefix //= '';
|
||||||
print ' ',$var,' ' x (16 - length $var),'= ',
|
print ' ',$var,' ' x (16 - length $var),'= ',
|
||||||
(ref $config{$makevars{$var}} eq 'ARRAY'
|
(ref $config{$makevars{$var}} eq 'ARRAY'
|
||||||
? join(' ', @{$config{$makevars{$var}}})
|
? join(' ', @{$config{$makevars{$var}}})
|
||||||
|
Loading…
Reference in New Issue
Block a user