mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-23 07:06:30 +00:00
fix: make pg_config be settable from outside the makefile
Patch by Marco Nenciarini <mnencia@debian.org>
This commit is contained in:
@@ -9,7 +9,8 @@ DATA=uninstall_repmgr_funcs.sql
|
||||
OBJS=repmgr_funcs.o
|
||||
|
||||
ifdef USE_PGXS
|
||||
PGXS := $(shell pg_config --pgxs)
|
||||
PG_CONFIG = pg_config
|
||||
PGXS := $(shell $(PG_CONFIG) --pgxs)
|
||||
include $(PGXS)
|
||||
else
|
||||
subdir = contrib/repmgr/sql
|
||||
|
||||
Reference in New Issue
Block a user