mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-23 07:06:30 +00:00
Fix build on PostgreSQL older than the current libpq
Make sure that the includedir_internal directory is used before the includedir_server, otherwise the build may fail for PostgreSQL version lower than the libpq version. Backpatched from downstream: https://anonscm.debian.org/cgit/pkg-postgresql/repmgr.git/tree/debian/patches/makefile-libpq-internal.patch Per GitHub #282
This commit is contained in:
2
Makefile
2
Makefile
@@ -10,7 +10,7 @@ repmgr_OBJS = dbutils.o check_dir.o config.o repmgr.o log.o strutil.o dirmod.o c
|
||||
DATA = repmgr.sql uninstall_repmgr.sql
|
||||
REGRESS = repmgr_funcs repmgr_test
|
||||
|
||||
PG_CPPFLAGS = -I$(libpq_srcdir)
|
||||
PG_CPPFLAGS = -I$(includedir_internal) -I$(libpq_srcdir)
|
||||
PG_LIBS = $(libpq_pgport)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user