Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 552348c

Browse files
committed
The libpq library directory was mentioned here in the wrong place, which
might lead to a previously installed libpq being used instead. But we don't actually have to link with libpq here at all, so remove it.
1 parent 862c3ff commit 552348c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/interfaces/ecpg/test/Makefile.regress

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ override CPPFLAGS := -I../../include -I$(top_srcdir)/src/interfaces/ecpg/include
33
override CFLAGS += $(PTHREAD_CFLAGS)
44

55
override LDFLAGS := -L../../ecpglib -L../../pgtypeslib $(LDFLAGS)
6-
override LIBS := -lecpg -lpgtypes $(libpq) $(LIBS) $(PTHREAD_LIBS)
6+
override LIBS := -lecpg -lpgtypes $(LIBS) $(PTHREAD_LIBS)
77

88
ECPG = ../../preproc/ecpg --regression -I$(srcdir)/../../include
99

@@ -15,4 +15,3 @@ ECPG = ../../preproc/ecpg --regression -I$(srcdir)/../../include
1515

1616
clean:
1717
rm -f $(TESTS) $(TESTS:%=%.o) $(TESTS:%=%.c)
18-

0 commit comments

Comments
 (0)