Attaching -lpq to LDFLAGS doesn't work, because the generated command
puts that before the .c file name.
This commit is contained in:
parent
f3ad615ce8
commit
776ec78e9d
@ -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…
x
Reference in New Issue
Block a user