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

Commit41611f1

Browse files
committed
PGXS support for contrib/hstore
Joey Adams
1 parentc26ac22 commit41611f1

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

‎contrib/hstore/Makefile

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
# contrib/hstore/Makefile
22

3-
subdir = contrib/hstore
4-
top_builddir = ../..
5-
include$(top_builddir)/src/Makefile.global
6-
73
MODULE_big = hstore
84
OBJS = hstore_io.o hstore_op.o hstore_gist.o hstore_gin.o hstore_compat.o\
95
crc32.o
@@ -12,4 +8,13 @@ DATA_built = hstore.sql
128
DATA = uninstall_hstore.sql
139
REGRESS = hstore
1410

11+
ifdefUSE_PGXS
12+
PG_CONFIG = pg_config
13+
PGXS :=$(shell$(PG_CONFIG) --pgxs)
14+
include$(PGXS)
15+
else
16+
subdir = contrib/hstore
17+
top_builddir = ../..
18+
include$(top_builddir)/src/Makefile.global
1519
include$(top_srcdir)/contrib/contrib-global.mk
20+
endif

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp