Skip to content

Commit 85a83a3

Browse files
committed
MSVC: Remove cosmetic, cross-branch differences pertaining to Perl.
This simplifies back-patch of the next change to v9.5 and v9.6.
1 parent 340a67a commit 85a83a3

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/tools/msvc/Mkvcbuild.pm

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -511,10 +511,10 @@ sub mkvcbuild
511511

512512
# Add defines from Perl's ccflags; see PGAC_CHECK_PERL_EMBED_CCFLAGS
513513
my @perl_embed_ccflags;
514-
foreach my $f (split(" ",$Config{ccflags}))
514+
foreach my $f (split(" ", $Config{ccflags}))
515515
{
516-
if ($f =~ /^-D[^_]/ ||
517-
$f =~ /^-D_USE_32BIT_TIME_T/)
516+
if ( $f =~ /^-D[^_]/
517+
|| $f =~ /^-D_USE_32BIT_TIME_T/)
518518
{
519519
$f =~ s/\-D//;
520520
push(@perl_embed_ccflags, $f);
@@ -616,7 +616,8 @@ sub mkvcbuild
616616
}
617617
else
618618
{
619-
die "could not identify perl library version";
619+
die
620+
"could not identify perl library version matching pattern $perl_path\n";
620621
}
621622

622623
# Add transform module dependent on plperl

0 commit comments

Comments
 (0)