postgres.git / summary / log / commit / refs

commit    776ec78e9d9852e6b87f0d4db2da3683e2165b74
Author:   Tom Lane <tgl@sss.pgh.pa.us>
Date:     Sat Sep 20 21:14:57 2003 +0000
First released in: 7.4

    Attaching -lpq to LDFLAGS doesn't work, because the generated command
    puts that before the .c file name.


src/test/examples/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/examples/Makefile b/src/test/examples/Makefile index 8589b0a95fe..0326d429112 100644 --- a/src/test/examples/Makefile +++ b/src/test/examples/Makefile @@ -7,7 +7,7 @@ top_builddir = ../../.. include $(top_builddir)/src/Makefile.global override CPPFLAGS := -I$(libpq_srcdir) $(CPPFLAGS) -LDFLAGS += $(libpq) +override LDLIBS := $(libpq) -lpgport $(LDLIBS) PROGS = testlibpq testlibpq2 testlibpq3 testlibpq4 testlo [parent: f3ad615ce8ae]