1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-31 22:04:40 +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:
Tom Lane
2005-09-27 17:13:14 +00:00
parent 8ddd22f245
commit 0b36cb83dc
33 changed files with 61 additions and 61 deletions

View File

@ -1,4 +1,4 @@
# $PostgreSQL: pgsql/contrib/earthdistance/Makefile,v 1.15 2005/07/24 23:30:09 tgl Exp $
# $PostgreSQL: pgsql/contrib/earthdistance/Makefile,v 1.16 2005/09/27 17:13:02 tgl Exp $
MODULES = earthdistance
DATA_built = earthdistance.sql
@ -8,7 +8,7 @@ REGRESS = earthdistance
SHLIB_LINK += $(filter -lm, $(LIBS))
ifdef USE_PGXS
PGXS = $(shell pg_config --pgxs)
PGXS := $(shell pg_config --pgxs)
include $(PGXS)
else
subdir = contrib/earthdistance