summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndres Freund2019-09-30 19:43:09 +0000
committerAndres Freund2019-09-30 19:43:09 +0000
commit5daf682cfc974bf9095be527603c6410921892a9 (patch)
treeb222d97aa2757d64ab95873a802c14921bf59dcc
parentce734aaec1891ca2180c269b4c9adbfb13ca4052 (diff)
Fix pg_rewind link order issue introduced in 927474ce1a2.
The aforementioned commit orders the link to pgfeutils after libpq, which can fail because pgfeutils uses symbols from libpq. Per buildfarm animal jacana. Author: Andres Freund Discussion: https://postgr.es/m/[email protected]
-rw-r--r--src/bin/pg_rewind/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/pg_rewind/Makefile b/src/bin/pg_rewind/Makefile
index 98fb381c62..7a97df660b 100644
--- a/src/bin/pg_rewind/Makefile
+++ b/src/bin/pg_rewind/Makefile
@@ -16,7 +16,7 @@ top_builddir = ../../..
include $(top_builddir)/src/Makefile.global
override CPPFLAGS := -I$(libpq_srcdir) -DFRONTEND $(CPPFLAGS)
-LDFLAGS_INTERNAL += $(libpq_pgport) -L$(top_builddir)/src/fe_utils -lpgfeutils
+LDFLAGS_INTERNAL += -L$(top_builddir)/src/fe_utils -lpgfeutils $(libpq_pgport)
OBJS = pg_rewind.o parsexlog.o xlogreader.o datapagemap.o timeline.o \
fetch.o file_ops.o copy_fetch.o libpq_fetch.o filemap.o \