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

puts that before the .c file name.
REL7_4_STABLE
Tom Lane 23 years ago
parent f3ad615ce8
commit 776ec78e9d
  1. 2
      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

Loading…
Cancel
Save