diff options
| author | Noah Misch | 2015-04-24 23:29:02 +0000 |
|---|---|---|
| committer | Noah Misch | 2015-04-24 23:29:02 +0000 |
| commit | 151e74719b0cc5c040bd3191b51b95f925773dd1 (patch) | |
| tree | fba74a03a4544ca3b9e7731e03edbdfd9649a33a /src/interfaces/ecpg/compatlib | |
| parent | 732b33f8ae4ecc9d7a9f07fd4cb74a60a2a5e2c2 (diff) | |
Build every ECPG library with -DFRONTEND.
Each of the libraries incorporates src/port files, which often check
FRONTEND. Build systems disagreed on whether to build libpgtypes this
way. Only libecpg incorporates files that rely on it today. Back-patch
to 9.0 (all supported versions) to forestall surprises.
Diffstat (limited to 'src/interfaces/ecpg/compatlib')
| -rw-r--r-- | src/interfaces/ecpg/compatlib/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/ecpg/compatlib/Makefile b/src/interfaces/ecpg/compatlib/Makefile index ce01df356ce..e0b0474ada1 100644 --- a/src/interfaces/ecpg/compatlib/Makefile +++ b/src/interfaces/ecpg/compatlib/Makefile @@ -19,7 +19,7 @@ SO_MAJOR_VERSION= 3 SO_MINOR_VERSION= 7 override CPPFLAGS := -I../include -I$(top_srcdir)/src/interfaces/ecpg/include \ - -I$(libpq_srcdir) -I$(top_srcdir)/src/include/utils $(CPPFLAGS) + -I$(libpq_srcdir) -I$(top_srcdir)/src/include/utils -DFRONTEND $(CPPFLAGS) override CFLAGS += $(PTHREAD_CFLAGS) SHLIB_LINK = -L../ecpglib -lecpg -L../pgtypeslib -lpgtypes $(libpq) \ |
