Configure: do not check for an absolute prefix in cross-builds
authorViktor Szakats <vszakats@users.noreply.github.com>
Fri, 27 Aug 2021 12:22:15 +0000 (12:22 +0000)
committerTomas Mraz <tomas@openssl.org>
Wed, 15 Nov 2023 10:10:26 +0000 (11:10 +0100)
commit4ea752997df83c2a694fdb157aab07908303fc90
treeaebedf856cac74869dc20c2633917ec984fefac9
parentdcfd8cfd4abf4a9fd26aef290dcdd5b4bb1c7f7a
Configure: do not check for an absolute prefix in cross-builds

The check is always made according to the host platform's rules, which may
not be true for true when the target platform is different, e.g. when
cross-building for Windows on a Linux machine. So skip this check when
used together with the `--cross-compile-prefix=` option.

Fixes https://github.com/openssl/openssl/issues/9520

Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22723)
Configure