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:04 +0100 |
commit | aa2d7e0ee15d1b7015479c38f370a25ceec690fc (patch) | |
tree | b5369f8cbb7a2bf248a51b0adaf64f3039171e80 /configdata.pm.in | |
parent | e788c772b12eea5ced4ce46619e13acf0e0eb6ba (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)
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 840e23b6c1..68439ae93c 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 # snippets. - my $buildfile = $target{build_file}; + my $buildfile = $config{build_file}; my $buildfile_template = "$buildfile.in"; my @autowarntext = ( 'WARNING: do not edit!', |