We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 066926d commit 962e825Copy full SHA for 962e825
src/interfaces/ecpg/test/Makefile.regress
@@ -2,8 +2,8 @@ override CPPFLAGS := -I../../include -I$(top_srcdir)/src/interfaces/ecpg/include
2
-I$(libpq_srcdir) $(CPPFLAGS)
3
override CFLAGS += $(PTHREAD_CFLAGS)
4
5
-override LDFLAGS := -L../../ecpglib -L../../pgtypeslib $(LDFLAGS)
6
-override LIBS := -lecpg -lpgtypes $(LIBS) $(PTHREAD_LIBS)
+override LDFLAGS := -L../../ecpglib -L../../pgtypeslib $(filter-out -l%, $(libpq)) $(LDFLAGS)
+override LIBS := -lecpg -lpgtypes $(filter -l%, $(libpq)) $(LIBS) $(PTHREAD_LIBS)
7
8
ECPG = ../../preproc/ecpg --regression -I$(srcdir)/../../include
9
0 commit comments