diff options
author | Matt Caswell <matt@openssl.org> | 2021-02-19 15:57:01 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2021-02-22 12:21:33 +0000 |
commit | f16f363a85baa6338744e20671c5a227844f2847 (patch) | |
tree | 2adca1d3dad5a4aec4001eb67441421184982834 /Configurations/unix-Makefile.tmpl | |
parent | 636a93454db40fa56e0927403fd34795aa268baf (diff) |
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)
Diffstat (limited to 'Configurations/unix-Makefile.tmpl')
-rw-r--r-- | Configurations/unix-Makefile.tmpl | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Configurations/unix-Makefile.tmpl b/Configurations/unix-Makefile.tmpl index b2abee23e6..16d4337dab 100644 --- a/Configurations/unix-Makefile.tmpl +++ b/Configurations/unix-Makefile.tmpl @@ -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 |