mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Fix MSVC builds broken by xsubpp change
This commit is contained in:
@ -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 '
|
||||||
|
Reference in New Issue
Block a user