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

Lines changed: 1 addition & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy