aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2013-03-31 16:51:00 -0400
committerPeter Eisentraut <peter_e@gmx.net>2013-03-31 16:51:00 -0400
commit3780fc679cc428c1f211e1728c4281ca15e9746b (patch)
tree1b53b98f7d3564e6f6a641db64a41ab763ed96d6 /src
parent203d8ae2db4cf255b94520fdc1521b5f96778596 (diff)
downloadpostgresql-3780fc679cc428c1f211e1728c4281ca15e9746b.tar.gz
postgresql-3780fc679cc428c1f211e1728c4281ca15e9746b.zip
ecpg: Don't link compatlib with libpq
It doesn't actually use libpq. But we need to keep libpq in the CPPFLAGS for building, because compatlib uses ecpglib.h which uses libpq-fe.h, but we don't need to refer to libpq for linking. reviewed by Tom Lane
Diffstat (limited to 'src')
-rw-r--r--src/interfaces/ecpg/compatlib/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/ecpg/compatlib/Makefile b/src/interfaces/ecpg/compatlib/Makefile
index 00adcdb30e9..4141e1e0130 100644
--- a/src/interfaces/ecpg/compatlib/Makefile
+++ b/src/interfaces/ecpg/compatlib/Makefile
@@ -21,7 +21,7 @@ override CPPFLAGS := -I../include -I$(top_srcdir)/src/interfaces/ecpg/include \
-I$(libpq_srcdir) -I$(top_srcdir)/src/include/utils $(CPPFLAGS)
override CFLAGS += $(PTHREAD_CFLAGS)
-SHLIB_LINK = -L../ecpglib -lecpg -L../pgtypeslib -lpgtypes $(libpq) \
+SHLIB_LINK = -L../ecpglib -lecpg -L../pgtypeslib -lpgtypes \
$(filter -lintl -lm, $(LIBS)) $(PTHREAD_LIBS)
SHLIB_PREREQS = submake-ecpglib submake-pgtypeslib