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

Commita17aeef

Browse files
authored
Fix out of source build
When included into postgresql contribs, and postgresql configured "out of source", pg_pathman could not build because it misses include path.Fix it by referring top_srcdir and subdir if build without USE_PGXS.
1 parentd38e7c9 commita17aeef

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,11 @@ OBJS = src/init.o src/relation_info.o src/utils.o src/partition_filter.o \
1010
src/compat/pg_compat.o src/compat/relation_tags.o src/compat/rowmarks_fix.o\
1111
$(WIN32RES)
1212

13+
ifdefUSE_PGXS
1314
overridePG_CPPFLAGS += -I$(CURDIR)/src/include
15+
else
16+
overridePG_CPPFLAGS += -I$(top_srcdir)/$(subdir)/src/include
17+
endif
1418

1519
EXTENSION = pg_pathman
1620

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp