Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 776ec78

Browse files
committed
Attaching -lpq to LDFLAGS doesn't work, because the generated command
puts that before the .c file name.
1 parent f3ad615 commit 776ec78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/examples/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ top_builddir = ../../..
77
include $(top_builddir)/src/Makefile.global
88

99
override CPPFLAGS := -I$(libpq_srcdir) $(CPPFLAGS)
10-
LDFLAGS += $(libpq)
10+
override LDLIBS := $(libpq) -lpgport $(LDLIBS)
1111

1212

1313
PROGS = testlibpq testlibpq2 testlibpq3 testlibpq4 testlo

0 commit comments

Comments
 (0)