mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-06-01 03:39:05 +00:00
fix: make pg_config be settable from outside the makefile
Patch by Marco Nenciarini <mnencia@debian.org>
This commit is contained in:
@@ -21,7 +21,8 @@ repmgr: $(repmgr_OBJS)
|
||||
$(CC) $(CFLAGS) $(repmgr_OBJS) $(PG_LIBS) $(LDFLAGS) $(LDFLAGS_EX) $(LIBS) -o repmgr
|
||||
|
||||
ifdef USE_PGXS
|
||||
PGXS := $(shell pg_config --pgxs)
|
||||
PG_CONFIG = pg_config
|
||||
PGXS := $(shell $(PG_CONFIG) --pgxs)
|
||||
include $(PGXS)
|
||||
else
|
||||
subdir = contrib/repmgr
|
||||
|
||||
Reference in New Issue
Block a user