Put back libpq link, but make sure that libpq's in-tree directory is

mentioned before the system directories.
This commit is contained in:
Peter Eisentraut 2007-01-21 09:19:06 +00:00
parent 066926dfbb
commit 962e825cd7
1 changed files with 2 additions and 2 deletions

View File

@ -2,8 +2,8 @@ override CPPFLAGS := -I../../include -I$(top_srcdir)/src/interfaces/ecpg/include
-I$(libpq_srcdir) $(CPPFLAGS)
override CFLAGS += $(PTHREAD_CFLAGS)
override LDFLAGS := -L../../ecpglib -L../../pgtypeslib $(LDFLAGS)
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)
ECPG = ../../preproc/ecpg --regression -I$(srcdir)/../../include