From: Dr. Matthias St. Pierre Date: Wed, 14 Apr 2021 18:23:43 +0000 (+0200) Subject: build.info: add the Perl wrapper to build generator programs on Windows X-Git-Tag: openssl-3.0.0-alpha16~91 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d9ce268151e5d3de4f15673aa8c0ae60b07eeadd;p=thirdparty%2Fopenssl.git build.info: add the Perl wrapper to build generator programs on Windows Pull request #14320 introduced the ability to use compiled programs as generators in GENERATE rules of build.info files. Those generator calls were wrapped by the Perl wrapper (wrap.pl) in the Unix makefile template, but not on Windows. This commit adds the missing wrapper for Windows, because for the `fipsmodule.cnf` target it is essential that the `openssl fipsinstall` command does not load any preinstalled openssl configuration file. Fixes #13680 Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/13684) --- diff --git a/Configurations/windows-makefile.tmpl b/Configurations/windows-makefile.tmpl index c6d63651cbd..4843106de2b 100644 --- a/Configurations/windows-makefile.tmpl +++ b/Configurations/windows-makefile.tmpl @@ -789,8 +789,8 @@ EOF # Also redo $gen0, to ensure that we have the proper extension. $gen0 = platform->bin($gen0); return <<"EOF"; -$args{src}: $gen0 $deps - $gen0$gen_args > \$@ +$args{src}: $gen0 $deps "\$(BLDDIR)\\util\\wrap.pl" + "\$(PERL)" "\$(BLDDIR)\\util\\wrap.pl" $gen0$gen_args > \$@ EOF } else { #