summaryrefslogtreecommitdiff
path: root/src/bin/scripts
diff options
context:
space:
mode:
authorTom Lane2016-03-25 00:45:31 +0000
committerTom Lane2016-03-25 00:45:31 +0000
commit7caaeaf3607fae91318f24debce3dc017ca299a3 (patch)
treea669017f987d80514f7a837bc60639964714511b /src/bin/scripts
parentc1156411ad0879a71956b64aa487babe7572685b (diff)
Link libpq after libpgfeutils to satisfy Windows linker.
Some of the non-MSVC Windows buildfarm members seem to need this to avoid getting "undefined symbol" errors on libpgfeutils' references to libpq. I could understand that if libpq were a static library, but surely it is not? Oh well, at least the extra reference is no more harmful than it is for libpgcommon or libpgport.
Diffstat (limited to 'src/bin/scripts')
-rw-r--r--src/bin/scripts/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/scripts/Makefile b/src/bin/scripts/Makefile
index 4e342ef8887..8c107b1ba43 100644
--- a/src/bin/scripts/Makefile
+++ b/src/bin/scripts/Makefile
@@ -19,7 +19,7 @@ include $(top_builddir)/src/Makefile.global
PROGRAMS = createdb createlang createuser dropdb droplang dropuser clusterdb vacuumdb reindexdb pg_isready
override CPPFLAGS := -I$(libpq_srcdir) $(CPPFLAGS)
-LDFLAGS += -L$(top_builddir)/src/fe_utils -lpgfeutils
+LDFLAGS += -L$(top_builddir)/src/fe_utils -lpgfeutils -lpq
all: $(PROGRAMS)