Fix no-tests on mingw

Using the no-tests option on mingw in an out-of-source build tree was
failing.

Fixes #14246

Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14249)
This commit is contained in:
Matt Caswell 2021-02-19 15:57:01 +00:00
parent 636a93454d
commit f16f363a85
1 changed files with 6 additions and 2 deletions

View File

@ -1561,12 +1561,16 @@ EOF
if (windowsdll()) {
$recipe .= <<"EOF";
rm -f apps/$full
rm -f test/$full
rm -f fuzz/$full
cp -p $full apps/
cp -p $full test/
cp -p $full fuzz/
EOF
if (!$disabled{tests}) {
$recipe .= <<"EOF";
rm -f test/$full
cp -p $full test/
EOF
}
}
$recipe .= <<"EOF" if defined $argfile;
$argfile: $argfiledeps