summaryrefslogtreecommitdiff
path: root/contrib/seg/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/seg/Makefile')
-rw-r--r--contrib/seg/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/contrib/seg/Makefile b/contrib/seg/Makefile
index e0e95cf9ee..34cd37e657 100644
--- a/contrib/seg/Makefile
+++ b/contrib/seg/Makefile
@@ -1,4 +1,4 @@
-# $PostgreSQL: pgsql/contrib/seg/Makefile,v 1.18 2007/02/09 17:24:33 petere Exp $
+# $PostgreSQL: pgsql/contrib/seg/Makefile,v 1.19 2007/06/26 22:05:03 tgl Exp $
MODULE_big = seg
OBJS = seg.o segparse.o
@@ -10,7 +10,8 @@ REGRESS = seg
EXTRA_CLEAN = y.tab.c y.tab.h
ifdef USE_PGXS
-PGXS := $(shell pg_config --pgxs)
+PG_CONFIG = pg_config
+PGXS := $(shell $(PG_CONFIG) --pgxs)
include $(PGXS)
else
subdir = contrib/seg