Skip to content

Commit 41611f1

Browse files
committed
PGXS support for contrib/hstore
Joey Adams
1 parent c26ac22 commit 41611f1

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+
ifdef USE_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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy