Use $config{build_file} instead of $target{build_file}
authorRichard Levitte <levitte@openssl.org>
Mon, 30 Jan 2023 12:54:01 +0000 (13:54 +0100)
committerTomas Mraz <tomas@openssl.org>
Wed, 1 Feb 2023 07:30:28 +0000 (08:30 +0100)
commitb0bd7a28e8b4f6e9c2fcd7524b3803cd2f15e248
tree4de1c4cabb1af3e528bdc02b9da83427a21c1922
parent26328e53b042b690acb6bd24b30017b7624406ee
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)
Configure
INSTALL.md
configdata.pm.in