Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit66eda1c

Browse files
author
Neil Conway
committed
VC build patch from Magnus:
Typo in the changes to plperl - uses wrong dir, and had a missing slash.Also fixes error checking for xsubpp - it was broken in a way that hidthe problem above when run more than once (which is the normal case whendeveloping).
1 parentae81a63 commit66eda1c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

‎src/tools/msvc/mkvcbuild.pl

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,11 @@
5252
$plperl->AddDefine('PLPERL_HAVE_UID_GID');
5353
if (Solution::IsNewer('src\pl\plperl\SPI.c','src\pl\plperl\SPI.xs')) {
5454
print'Building src\pl\plperl\SPI.c...' ."\n";
55-
system($solution->{options}->{perl} .'/bin/perl' .$solution->{options}->{perl} .'/lib/COREExtUtils/xsubpp -typemap' .$solution->{options}->{perl} .'/lib/CORE/ExtUtils/typemap src\pl\plperl\SPI.xs >src\pl\plperl\SPI.c');
56-
die'Failed to create SPI.c' ."\n"if ((!(-f'src\pl\plperl\SPI.c')) ||-z'src\pl\plperl\SPI.c');
55+
system($solution->{options}->{perl} .'/bin/perl' .$solution->{options}->{perl} .'/lib/ExtUtils/xsubpp -typemap' .$solution->{options}->{perl} .'/lib/ExtUtils/typemap src\pl\plperl\SPI.xs >src\pl\plperl\SPI.c');
56+
if ((!(-f'src\pl\plperl\SPI.c')) ||-z'src\pl\plperl\SPI.c') {
57+
unlink('src\pl\plperl\SPI.c');# if zero size
58+
die'Failed to create SPI.c' ."\n";
59+
}
5760
}
5861
$plperl->AddReference($postgres);
5962
$plperl->AddLibrary($solution->{options}->{perl} .'\lib\CORE\perl58.lib');

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp