mirror of https://github.com/postgres/postgres
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.
This commit is contained in:
parent
862c3ff04d
commit
552348c166
|
@ -3,7 +3,7 @@ override CPPFLAGS := -I../../include -I$(top_srcdir)/src/interfaces/ecpg/include
|
||||||
override CFLAGS += $(PTHREAD_CFLAGS)
|
override CFLAGS += $(PTHREAD_CFLAGS)
|
||||||
|
|
||||||
override LDFLAGS := -L../../ecpglib -L../../pgtypeslib $(LDFLAGS)
|
override LDFLAGS := -L../../ecpglib -L../../pgtypeslib $(LDFLAGS)
|
||||||
override LIBS := -lecpg -lpgtypes $(libpq) $(LIBS) $(PTHREAD_LIBS)
|
override LIBS := -lecpg -lpgtypes $(LIBS) $(PTHREAD_LIBS)
|
||||||
|
|
||||||
ECPG = ../../preproc/ecpg --regression -I$(srcdir)/../../include
|
ECPG = ../../preproc/ecpg --regression -I$(srcdir)/../../include
|
||||||
|
|
||||||
|
@ -15,4 +15,3 @@ ECPG = ../../preproc/ecpg --regression -I$(srcdir)/../../include
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(TESTS) $(TESTS:%=%.o) $(TESTS:%=%.c)
|
rm -f $(TESTS) $(TESTS:%=%.o) $(TESTS:%=%.c)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue