diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2003-09-20 21:14:57 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2003-09-20 21:14:57 +0000 |
commit | 776ec78e9d9852e6b87f0d4db2da3683e2165b74 (patch) | |
tree | c44cd633f3879110ba9c22a587c5adb05e00db29 | |
parent | f3ad615ce8aeabb3de138a6f2eeb550426061a51 (diff) | |
download | postgresql-776ec78e9d9852e6b87f0d4db2da3683e2165b74.tar.gz postgresql-776ec78e9d9852e6b87f0d4db2da3683e2165b74.zip |
Attaching -lpq to LDFLAGS doesn't work, because the generated command
puts that before the .c file name.
-rw-r--r-- | src/test/examples/Makefile | 2 |
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 |