From bda4b0995c7128cd1dc055bb337e0cb054a24e28 Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Mon, 22 May 2017 11:55:07 +0900 Subject: [PATCH] Patch Makefile from downstream Per GitHub #282 Ref: https://anonscm.debian.org/cgit/pkg-postgresql/repmgr.git/tree/debian/patches/makefile-no-libs.patch --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index e567ace8..cd501cf7 100644 --- a/Makefile +++ b/Makefile @@ -18,11 +18,11 @@ all: repmgrd repmgr $(MAKE) -C sql repmgrd: $(repmgrd_OBJS) - $(CC) -o repmgrd $(CFLAGS) $(repmgrd_OBJS) $(PG_LIBS) $(LDFLAGS) $(LDFLAGS_EX) $(LIBS) + $(CC) -o repmgrd $(CFLAGS) $(repmgrd_OBJS) $(PG_LIBS) $(LDFLAGS) $(LDFLAGS_EX) $(MAKE) -C sql repmgr: $(repmgr_OBJS) - $(CC) -o repmgr $(CFLAGS) $(repmgr_OBJS) $(PG_LIBS) $(LDFLAGS) $(LDFLAGS_EX) $(LIBS) + $(CC) -o repmgr $(CFLAGS) $(repmgr_OBJS) $(PG_LIBS) $(LDFLAGS) $(LDFLAGS_EX) # Make all objects depend on all include files. This is a bit of a # shotgun approach, but the codebase is small enough that a complete rebuild