From 776ec78e9d9852e6b87f0d4db2da3683e2165b74 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sat, 20 Sep 2003 21:14:57 +0000 Subject: [PATCH] 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 8589b0a95f..0326d42911 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 -- 2.40.0