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:04 +0000 (08:30 +0100)
commitaa2d7e0ee15d1b7015479c38f370a25ceec690fc
treeb5369f8cbb7a2bf248a51b0adaf64f3039171e80
parente788c772b12eea5ced4ce46619e13acf0e0eb6ba
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)
Configure
INSTALL.md
configdata.pm.in