]> granicus.if.org Git - postgresql/commitdiff
The libpq library directory was mentioned here in the wrong place, which
authorPeter Eisentraut <peter_e@gmx.net>
Sat, 20 Jan 2007 15:26:28 +0000 (15:26 +0000)
committerPeter Eisentraut <peter_e@gmx.net>
Sat, 20 Jan 2007 15:26:28 +0000 (15:26 +0000)
might lead to a previously installed libpq being used instead.  But we
don't actually have to link with libpq here at all, so remove it.

src/interfaces/ecpg/test/Makefile.regress

index 06ac585ab9d86744d8c6867f0aad8f8304d0ecd2..f16622855be3750a4dbf163c15ffe7f733b1a62e 100644 (file)
@@ -3,7 +3,7 @@ override CPPFLAGS := -I../../include -I$(top_srcdir)/src/interfaces/ecpg/include
 override CFLAGS += $(PTHREAD_CFLAGS) 
 
 override LDFLAGS := -L../../ecpglib -L../../pgtypeslib $(LDFLAGS)
-override LIBS := -lecpg -lpgtypes $(libpq) $(LIBS) $(PTHREAD_LIBS)
+override LIBS := -lecpg -lpgtypes $(LIBS) $(PTHREAD_LIBS)
 
 ECPG = ../../preproc/ecpg --regression -I$(srcdir)/../../include
 
@@ -15,4 +15,3 @@ ECPG = ../../preproc/ecpg --regression -I$(srcdir)/../../include
 
 clean:
        rm -f $(TESTS) $(TESTS:%=%.o) $(TESTS:%=%.c)
-