mirror of
https://github.com/postgres/postgres.git
synced 2025-07-31 22:04:40 +03:00
Attaching -lpq to LDFLAGS doesn't work, because the generated command
puts that before the .c file name.
This commit is contained in:
@ -7,7 +7,7 @@ top_builddir = ../../..
|
|||||||
include $(top_builddir)/src/Makefile.global
|
include $(top_builddir)/src/Makefile.global
|
||||||
|
|
||||||
override CPPFLAGS := -I$(libpq_srcdir) $(CPPFLAGS)
|
override CPPFLAGS := -I$(libpq_srcdir) $(CPPFLAGS)
|
||||||
LDFLAGS += $(libpq)
|
override LDLIBS := $(libpq) -lpgport $(LDLIBS)
|
||||||
|
|
||||||
|
|
||||||
PROGS = testlibpq testlibpq2 testlibpq3 testlibpq4 testlo
|
PROGS = testlibpq testlibpq2 testlibpq3 testlibpq4 testlo
|
||||||
|
Reference in New Issue
Block a user