From 1c9858d0d013184ff756d063022161b1853a9cbf Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Sat, 3 Mar 2018 23:07:14 +0100 Subject: [PATCH] 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) --- Configurations/windows-makefile.tmpl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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}} ? -- 2.25.1