Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Revert "ecpg: Don't link compatlib with libpq"
authorPeter Eisentraut <peter_e@gmx.net>
Mon, 1 Apr 2013 03:50:51 +0000 (23:50 -0400)
committerPeter Eisentraut <peter_e@gmx.net>
Mon, 1 Apr 2013 03:50:51 +0000 (23:50 -0400)
This reverts commit 3780fc679cc428c1f211e1728c4281ca15e9746b.

HP-UX didn't like it.  There would probably be a way to fix that, but
since the net effect of all of this is zero because ecpg ends up using
libpq anyway, it's not worth bothering further.

src/interfaces/ecpg/compatlib/Makefile

index caa55e681617e7eb77c724dc177201028f6e657f..3545d2b03239e691d6a12679b3704c546e627ff4 100644 (file)
@@ -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 \
+SHLIB_LINK = -L../ecpglib -lecpg -L../pgtypeslib -lpgtypes $(libpq) \
    $(filter -lintl -lm, $(LIBS)) $(PTHREAD_LIBS)
 SHLIB_PREREQS = submake-ecpglib submake-pgtypeslib