mirror of
https://github.com/postgres/postgres.git
synced 2025-07-03 20:02:46 +03:00
Put back libpq link, but make sure that libpq's in-tree directory is
mentioned before the system directories.
This commit is contained in:
@ -2,8 +2,8 @@ override CPPFLAGS := -I../../include -I$(top_srcdir)/src/interfaces/ecpg/include
|
|||||||
-I$(libpq_srcdir) $(CPPFLAGS)
|
-I$(libpq_srcdir) $(CPPFLAGS)
|
||||||
override CFLAGS += $(PTHREAD_CFLAGS)
|
override CFLAGS += $(PTHREAD_CFLAGS)
|
||||||
|
|
||||||
override LDFLAGS := -L../../ecpglib -L../../pgtypeslib $(LDFLAGS)
|
override LDFLAGS := -L../../ecpglib -L../../pgtypeslib $(filter-out -l%, $(libpq)) $(LDFLAGS)
|
||||||
override LIBS := -lecpg -lpgtypes $(LIBS) $(PTHREAD_LIBS)
|
override LIBS := -lecpg -lpgtypes $(filter -l%, $(libpq)) $(LIBS) $(PTHREAD_LIBS)
|
||||||
|
|
||||||
ECPG = ../../preproc/ecpg --regression -I$(srcdir)/../../include
|
ECPG = ../../preproc/ecpg --regression -I$(srcdir)/../../include
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user