summaryrefslogtreecommitdiffstats
path: root/Configurations
diff options
context:
space:
mode:
authorKeith W. Campbell <keithc@ca.ibm.com>2022-04-13 18:14:33 -0400
committerTomas Mraz <tomas@openssl.org>2022-05-11 15:14:23 +0200
commitd2c7cbdc97961a6b62cf470751d7b654676b1a46 (patch)
treeacfa6b5e397a036143aaecb656350176456795fd /Configurations
parentd8a3b6edcb83abda46aea30d074aa2b7c81794e7 (diff)
Add quotes around perl scripts
Otherwise, it seems nmake doesn't invoke perl properly. Signed-off-by: Keith W. Campbell <keithc@ca.ibm.com> Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/18215) (cherry picked from commit 3b85d9de443c31e49a0215c1fe3c80828d609062)
Diffstat (limited to 'Configurations')
-rw-r--r--Configurations/windows-makefile.tmpl8
1 files changed, 4 insertions, 4 deletions
diff --git a/Configurations/windows-makefile.tmpl b/Configurations/windows-makefile.tmpl
index 2167180e14..a195bd596f 100644
--- a/Configurations/windows-makefile.tmpl
+++ b/Configurations/windows-makefile.tmpl
@@ -744,7 +744,7 @@ EOF
$args{generator}->[1] || platform->dsoname($args{product});
return <<"EOF";
$target: $gen0 $deps $mkdef
- "\$(PERL)" $mkdef$ord_ver --ordinals $gen0 --name $ord_name --OS windows > $target
+ "\$(PERL)" "$mkdef"$ord_ver --ordinals $gen0 --name $ord_name --OS windows > $target
EOF
} elsif (platform->isasm($args{src})) {
#
@@ -760,7 +760,7 @@ EOF
my $generator;
if ($gen0 =~ /\.pl$/) {
- $generator = '"$(PERL)"'.$gen_incs.' '.$gen0.$gen_args
+ $generator = '"$(PERL)"'.$gen_incs.' "'.$gen0.'"'.$gen_args
.' "$(PERLASM_SCHEME)"'.$incs.' '.$cppflags.$defs.' $(PROCESSSOR)';
} elsif ($gen0 =~ /\.S$/) {
$generator = undef;
@@ -817,7 +817,7 @@ EOF
$gen0 = platform->bin($gen0);
return <<"EOF";
$args{src}: $gen0 $deps "\$(BLDDIR)\\util\\wrap.pl"
- "\$(PERL)" "\$(BLDDIR)\\util\\wrap.pl" $gen0$gen_args > \$@
+ "\$(PERL)" "\$(BLDDIR)\\util\\wrap.pl" "$gen0"$gen_args > \$@
EOF
} else {
#
@@ -825,7 +825,7 @@ EOF
#
return <<"EOF";
$args{src}: "$gen0" $deps
- "\$(PERL)"$gen_incs $gen0$gen_args > \$@
+ "\$(PERL)"$gen_incs "$gen0"$gen_args > \$@
EOF
}
}