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

Commit639928c

Browse files
committed
Improve vpath support in plperl build
Run xsubpp with the -output option instead of redirecting stdout. Thatensures that the #line directives in the output file point to the rightplace in a vpath build. This in turn fixes an error in coverage buildsthat it can't find the source files.Refactor the makefile rules while we're here.Reviewed-by: Michael Paquier <michael.paquier@gmail.com>
1 parent684cf76 commit639928c

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

‎src/pl/plperl/GNUmakefile

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -81,13 +81,9 @@ perlchunks.h: $(PERLCHUNKS)
8181

8282
all: all-lib
8383

84-
SPI.c:SPI.xs plperl_helpers.h
84+
%.c:%.xs
8585
@if [ x"$(perl_privlibexp)"= x"" ];thenecho"configure switch --with-perl was not specified.";exit 1;fi
86-
$(PERL)$(XSUBPPDIR)/ExtUtils/xsubpp -typemap$(perl_privlibexp)/ExtUtils/typemap$<>$@
87-
88-
Util.c: Util.xs plperl_helpers.h
89-
@if [ x"$(perl_privlibexp)"= x"" ];thenecho"configure switch --with-perl was not specified.";exit 1;fi
90-
$(PERL)$(XSUBPPDIR)/ExtUtils/xsubpp -typemap$(perl_privlibexp)/ExtUtils/typemap$<>$@
86+
$(PERL)$(XSUBPPDIR)/ExtUtils/xsubpp -typemap$(perl_privlibexp)/ExtUtils/typemap -output$@$<
9187

9288

9389
install: all install-lib install-data

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp