mirror of
https://github.com/openssl/openssl.git
synced 2025-01-27 04:14:10 +08:00
configdata.pm.in, util/dofile.pl: load 'platform' unconditionally
The 'platform' module handles defaults fine, there's no need to add extra conditions on it being loaded. Fixes #10513 Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/10514)
This commit is contained in:
parent
e9b95e42fb
commit
fbd03b1c59
@ -124,8 +124,6 @@ unless (caller) {
|
||||
my $prepend = <<"_____";
|
||||
use File::Spec::Functions;
|
||||
use lib '{- sourcedir('util', 'perl') -}';
|
||||
_____
|
||||
$prepend .= <<"_____" if defined $target{perl_platform};
|
||||
use lib '{- sourcedir('Configurations') -}';
|
||||
use lib '{- $config{builddir} -}';
|
||||
use platform;
|
||||
|
@ -63,8 +63,6 @@ sub errorcallback {
|
||||
|
||||
my $prepend = <<"_____";
|
||||
use File::Spec::Functions;
|
||||
_____
|
||||
$prepend .= <<"_____" if defined $target{perl_platform};
|
||||
use lib "$FindBin::Bin/../Configurations";
|
||||
use lib '$config{builddir}';
|
||||
use platform;
|
||||
|
Loading…
Reference in New Issue
Block a user