Fix MSVC builds broken by xsubpp change
This commit is contained in:
parent
9f42e5b3ec
commit
bcba9acf0d
@ -108,11 +108,10 @@ sub mkvcbuild
|
|||||||
(my $xsc = $xs) =~ s/\.xs/.c/;
|
(my $xsc = $xs) =~ s/\.xs/.c/;
|
||||||
if (Solution::IsNewer("$plperlsrc$xsc","$plperlsrc$xs"))
|
if (Solution::IsNewer("$plperlsrc$xsc","$plperlsrc$xs"))
|
||||||
{
|
{
|
||||||
my $xsubppdir = first { -e "$_\\ExtUtils\\xsubpp.BAT" } @INC;
|
my $xsubppdir = first { -e "$_\\ExtUtils\\xsubpp" } @INC;
|
||||||
print "Building $plperlsrc$xsc...\n";
|
print "Building $plperlsrc$xsc...\n";
|
||||||
system( $solution->{options}->{perl}
|
system( $solution->{options}->{perl}
|
||||||
. '/bin/perl '
|
. '/bin/perl '
|
||||||
. $solution->{options}->{perl}
|
|
||||||
. "$xsubppdir/ExtUtils/xsubpp -typemap "
|
. "$xsubppdir/ExtUtils/xsubpp -typemap "
|
||||||
. $solution->{options}->{perl}
|
. $solution->{options}->{perl}
|
||||||
. '/lib/ExtUtils/typemap '
|
. '/lib/ExtUtils/typemap '
|
||||||
|
Loading…
x
Reference in New Issue
Block a user