mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
PGXS should be set with := not =, as specified in the documentation,
to avoid useless multiple executions of pg_config.
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
# $PostgreSQL: pgsql/contrib/tsearch2/snowball/Makefile,v 1.6 2005/09/15 11:14:18 teodor Exp $
|
||||
# $PostgreSQL: pgsql/contrib/tsearch2/snowball/Makefile,v 1.7 2005/09/27 17:13:12 tgl Exp $
|
||||
|
||||
|
||||
PG_CPPFLAGS = -I$(srcdir)/..
|
||||
@ -6,7 +6,7 @@ SUBOBJS = english_stem.o api.o russian_stem.o utilities.o
|
||||
EXTRA_CLEAN = SUBSYS.o $(SUBOBJS)
|
||||
|
||||
ifdef USE_PGXS
|
||||
PGXS = $(shell pg_config --pgxs)
|
||||
PGXS := $(shell pg_config --pgxs)
|
||||
include $(PGXS)
|
||||
else
|
||||
subdir = contrib/tsearch2
|
||||
|
Reference in New Issue
Block a user