diff options
| author | Tom Lane | 2016-03-25 00:45:31 +0000 |
|---|---|---|
| committer | Tom Lane | 2016-03-25 00:45:31 +0000 |
| commit | 7caaeaf3607fae91318f24debce3dc017ca299a3 (patch) | |
| tree | a669017f987d80514f7a837bc60639964714511b /src/bin/psql | |
| parent | c1156411ad0879a71956b64aa487babe7572685b (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/psql')
| -rw-r--r-- | src/bin/psql/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/psql/Makefile b/src/bin/psql/Makefile index 6220d0d620f..d1c3b777c25 100644 --- a/src/bin/psql/Makefile +++ b/src/bin/psql/Makefile @@ -19,7 +19,7 @@ include $(top_builddir)/src/Makefile.global REFDOCDIR= $(top_srcdir)/doc/src/sgml/ref override CPPFLAGS := -I. -I$(srcdir) -I$(libpq_srcdir) $(CPPFLAGS) -LDFLAGS += -L$(top_builddir)/src/fe_utils -lpgfeutils +LDFLAGS += -L$(top_builddir)/src/fe_utils -lpgfeutils -lpq OBJS= command.o common.o help.o input.o stringutils.o mainloop.o copy.o \ startup.o prompt.o variables.o large_obj.o describe.o \ |
