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

Commitb58233c

Browse files
committed
Fix PGXS vpath build when PostgreSQL is built with vpath
PGXS computes srcdir from VPATH, PostgreSQL proper computes VPATH fromsrcdir, and doing both results in an error from make. Conditionalize soonly one of these takes effect.
1 parente4b5a07 commitb58233c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎src/Makefile.global.in

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ VERSION = @PACKAGE_VERSION@
4040
MAJORVERSION = @PG_MAJORVERSION@
4141

4242
# Support for VPATH builds
43+
# (PGXS VPATH support is handled separately in pgxs.mk)
44+
ifndefPGXS
4345
vpath_build = @vpath_build@
4446
abs_top_srcdir = @abs_top_srcdir@
4547

@@ -51,6 +53,7 @@ top_srcdir = $(abs_top_srcdir)
5153
srcdir =$(top_srcdir)/$(subdir)
5254
VPATH =$(srcdir)
5355
endif
56+
endif# not PGXS
5457

5558
vpathsearch =`for fin$(addsuffix /$(1),$(subst :, ,.$(VPATH)));dotest -r$$f&&echo$$f&&break; done`
5659

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp