Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit a59b342

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 ba8cc0a commit a59b342

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
@@ -519,10 +519,10 @@ sub mkvcbuild
519519

520520
# Add defines from Perl's ccflags; see PGAC_CHECK_PERL_EMBED_CCFLAGS
521521
my @perl_embed_ccflags;
522-
foreach my $f (split(" ",$Config{ccflags}))
522+
foreach my $f (split(" ", $Config{ccflags}))
523523
{
524-
if ($f =~ /^-D[^_]/ ||
525-
$f =~ /^-D_USE_32BIT_TIME_T/)
524+
if ( $f =~ /^-D[^_]/
525+
|| $f =~ /^-D_USE_32BIT_TIME_T/)
526526
{
527527
$f =~ s/\-D//;
528528
push(@perl_embed_ccflags, $f);
@@ -624,7 +624,8 @@ sub mkvcbuild
624624
}
625625
else
626626
{
627-
die "could not identify perl library version";
627+
die
628+
"could not identify perl library version matching pattern $perl_path\n";
628629
}
629630

630631
# Add transform module dependent on plperl

0 commit comments

Comments
 (0)