Prevent possibly spurious error when running perl -cw

This commit is contained in:
Andrew Dunstan 2018-05-18 10:46:38 -04:00
parent 9effb63e0d
commit 3dacd9bf32
1 changed files with 1 additions and 1 deletions

View File

@ -691,7 +691,7 @@ sub mkvcbuild
(my $xsc = $xs) =~ s/\.xs/.c/;
if (Solution::IsNewer("$plperlsrc$xsc", "$plperlsrc$xs"))
{
my $xsubppdir = first { -e "$_/ExtUtils/xsubpp" } @INC;
my $xsubppdir = first { -e "$_/ExtUtils/xsubpp" } (@INC);
print "Building $plperlsrc$xsc...\n";
system( $solution->{options}->{perl}
. '/bin/perl '