From be84c12ae9d65be85765c2b70bf14773d133c4f0 Mon Sep 17 00:00:00 2001 From: Noah Misch Date: Tue, 23 Aug 2016 23:40:38 -0400 Subject: [PATCH] Build libpgfeutils before pg_isready. Every program having -lpgfeutils in LDFLAGS must have this dependency, whether or not the program uses a libpgfeutils symbol. Back-patch to 9.6, where libpgfeutils was introduced. --- src/bin/scripts/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/scripts/Makefile b/src/bin/scripts/Makefile index 8c107b1ba4..c6ad4e7552 100644 --- a/src/bin/scripts/Makefile +++ b/src/bin/scripts/Makefile @@ -35,7 +35,7 @@ dropuser: dropuser.o common.o | submake-libpq submake-libpgport submake-libpgfeu clusterdb: clusterdb.o common.o | submake-libpq submake-libpgport submake-libpgfeutils vacuumdb: vacuumdb.o common.o | submake-libpq submake-libpgport submake-libpgfeutils reindexdb: reindexdb.o common.o | submake-libpq submake-libpgport submake-libpgfeutils -pg_isready: pg_isready.o common.o | submake-libpq submake-libpgport +pg_isready: pg_isready.o common.o | submake-libpq submake-libpgport submake-libpgfeutils install: all installdirs $(INSTALL_PROGRAM) createdb$(X) '$(DESTDIR)$(bindir)'/createdb$(X)