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_1-pre3~193 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1c9858d0d013184ff756d063022161b1853a9cbf;p=openssl 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) --- diff --git a/Configurations/windows-makefile.tmpl b/Configurations/windows-makefile.tmpl index 2f6426d1f9..dd0c84946b 100644 --- a/Configurations/windows-makefile.tmpl +++ b/Configurations/windows-makefile.tmpl @@ -406,7 +406,8 @@ reconfigure reconf: 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}} ?