diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2014-04-05 02:20:25 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2014-04-05 02:20:25 -0400 |
commit | 44c5d387eafb4ba1a032f8d7b13d85c553d69181 (patch) | |
tree | 0a37178aeb28d921f3db39c0c45cb5b7b52ce88d | |
parent | abe075dfffe2ef7e76ebbf5717fa3823f9a70a1f (diff) | |
download | postgresql-44c5d387eafb4ba1a032f8d7b13d85c553d69181.tar.gz postgresql-44c5d387eafb4ba1a032f8d7b13d85c553d69181.zip |
ecpg/ecpglib must build the src/port files it uses with -DFRONTEND.
Remarkably, this hasn't been noticed before, though it surely should
have been happening since around the fall of the Byzantine empire.
Commit 438b529604 changed path.c to depend on FRONTEND, and that exposed
the omission, per buildfarm reports.
I'm suspicious that some other subdirectories are missing this too,
but this one change is enough to make ecpg tests pass for me.
-rw-r--r-- | src/interfaces/ecpg/ecpglib/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/ecpg/ecpglib/Makefile b/src/interfaces/ecpg/ecpglib/Makefile index 2f3f652e66e..ae4474f9884 100644 --- a/src/interfaces/ecpg/ecpglib/Makefile +++ b/src/interfaces/ecpg/ecpglib/Makefile @@ -18,7 +18,7 @@ SO_MAJOR_VERSION= 6 SO_MINOR_VERSION= 6 override CPPFLAGS := -I../include -I$(top_srcdir)/src/interfaces/ecpg/include \ - -I$(libpq_srcdir) -I$(top_builddir)/src/port $(CPPFLAGS) + -I$(libpq_srcdir) -I$(top_builddir)/src/port -DFRONTEND $(CPPFLAGS) override CFLAGS += $(PTHREAD_CFLAGS) # Need to recompile any libpgport object files |