diff options
author | Richard Levitte <levitte@openssl.org> | 2023-01-30 13:54:01 +0100 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2023-02-01 08:30:38 +0100 |
commit | 28b78f395605ef30ae929b16e0cc46fbd50d5531 (patch) | |
tree | 4d29106d8cd6967833ade0043557fad5961d6359 /configdata.pm.in | |
parent | 0f67990573fc2e556487d84878d6b71bf0b036a7 (diff) |
Use $config{build_file} instead of $target{build_file}
If the user specifies an alternative build file than the default, this
alternative is recorded in $config{build_file}, not $target{build_file}.
Therefore, the former should be used, leaving the latter as a mere default.
This is a bug. While fixing it, document it better too.
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20173)
(cherry picked from commit aa2d7e0ee15d1b7015479c38f370a25ceec690fc)
Diffstat (limited to 'configdata.pm.in')
-rw-r--r-- | configdata.pm.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configdata.pm.in b/configdata.pm.in index bef9060846..04b901144f 100644 --- a/configdata.pm.in +++ b/configdata.pm.in @@ -91,7 +91,7 @@ unless (caller) { # We do that in two steps, where the first step emits perl # snipets. - my $buildfile = $target{build_file}; + my $buildfile = $config{build_file}; my $buildfile_template = "$buildfile.in"; my @autowarntext = ( 'WARNING: do not edit!', |