Attaching -lpq to LDFLAGS doesn't work, because the generated command

puts that before the .c file name.
This commit is contained in:
Tom Lane 2003-09-20 21:14:57 +00:00
parent f3ad615ce8
commit 776ec78e9d

View File

@ -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