]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Build libecpg with -DFRONTEND in all supported versions.
authorNoah Misch <noah@leadboat.com>
Sun, 26 Apr 2015 21:20:10 +0000 (17:20 -0400)
committerNoah Misch <noah@leadboat.com>
Sun, 26 Apr 2015 21:20:30 +0000 (17:20 -0400)
Fix an oversight in commit 151e74719b0cc5c040bd3191b51b95f925773dd1 by
back-patching commit 44c5d387eafb4ba1a032f8d7b13d85c553d69181 to 9.0.

src/interfaces/ecpg/ecpglib/Makefile

index 3adf36d8bed18fa62765644211f47fafb5bd568f..46693896bbbecc31acc5cd8dd4f56a1ebe584227 100644 (file)
@@ -18,7 +18,7 @@ SO_MAJOR_VERSION= 6
 SO_MINOR_VERSION= 2
 
 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