aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2019-09-30 12:43:09 -0700
committerAndres Freund <andres@anarazel.de>2019-09-30 12:43:09 -0700
commit5daf682cfc974bf9095be527603c6410921892a9 (patch)
treeb222d97aa2757d64ab95873a802c14921bf59dcc /src
parentce734aaec1891ca2180c269b4c9adbfb13ca4052 (diff)
downloadpostgresql-5daf682cfc974bf9095be527603c6410921892a9.tar.gz
postgresql-5daf682cfc974bf9095be527603c6410921892a9.zip
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/20190930192013.r3wievljua2n3tbb@alap3.anarazel.de
Diffstat (limited to 'src')
-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 98fb381c629..7a97df660b5 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 \