Allow a custom pg_config to be specified

This commit is contained in:
Garrett T
2018-04-17 16:37:45 -04:00
committed by Jiri Pechanec
parent 0d4db2816b
commit e2da727139

View File

@@ -14,6 +14,6 @@ SHLIB_LINK += $(PROTOBUF_C_LDFLAGS) $(POSTGIS_C_LDFLAGS)
OBJS = src/decoderbufs.o src/proto/pg_logicaldec.pb-c.o
PG_CONFIG = pg_config
PG_CONFIG ?= pg_config
PGXS := $(shell $(PG_CONFIG) --pgxs)
include $(PGXS)