From: Richard Levitte Date: Sat, 3 Mar 2018 22:07:14 +0000 (+0100) Subject: Windows makefile: Don't quote generator arguments X-Git-Tag: OpenSSL_1_1_0h~53 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e9e28ddc4ed3d047d397424735373a572efd5e60;p=oweals%2Fopenssl.git Windows makefile: Don't quote generator arguments Rely on the build.info constructor to do the right thing. Fixes #5500 Reviewed-by: Tim Hudson (Merged from https://github.com/openssl/openssl/pull/5501) (cherry picked from commit 1c9858d0d013184ff756d063022161b1853a9cbf) --- diff --git a/Configurations/windows-makefile.tmpl b/Configurations/windows-makefile.tmpl index d90174a845..49d6037130 100644 --- a/Configurations/windows-makefile.tmpl +++ b/Configurations/windows-makefile.tmpl @@ -369,7 +369,8 @@ configdata.pm: "$(SRCDIR)\Configure" {- join(" ", map { '"'.$_.'"' } @{$config{b sub generatesrc { my %args = @_; (my $target = $args{src}) =~ s/\.[sS]$/.asm/; - my $generator = '"'.join('" "', @{$args{generator}}).'"'; + my ($gen0, @gens) = @{$args{generator}}; + my $generator = '"'.$gen0.'"'.join('', map { " $_" } @gens); my $generator_incs = join("", map { " -I \"$_\"" } @{$args{generator_incs}}); my $incs = join("", map { " /I \"$_\"" } @{$args{incs}}); my $deps = @{$args{deps}} ?