summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane2003-09-20 21:14:57 +0000
committerTom Lane2003-09-20 21:14:57 +0000
commit776ec78e9d9852e6b87f0d4db2da3683e2165b74 (patch)
treec44cd633f3879110ba9c22a587c5adb05e00db29 /src
parentf3ad615ce8aeabb3de138a6f2eeb550426061a51 (diff)
Attaching -lpq to LDFLAGS doesn't work, because the generated command
puts that before the .c file name.
Diffstat (limited to 'src')
-rw-r--r--src/test/examples/Makefile2
1 files changed, 1 insertions, 1 deletions
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