Build libecpg with -DFRONTEND in all supported versions.
authorNoah Misch
Sun, 26 Apr 2015 21:20:10 +0000 (17:20 -0400)
committerNoah Misch
Sun, 26 Apr 2015 21:20:10 +0000 (17:20 -0400)
Fix an oversight in commit 151e74719b0cc5c040bd3191b51b95f925773dd1 by
back-patching commit 44c5d387eafb4ba1a032f8d7b13d85c553d69181 to 9.0.

src/interfaces/ecpg/ecpglib/Makefile

index 90d4b3e283fcae4d084734bf0149f34617310568..86dbdc221459bd1750d081943335f8b0103204b8 100644 (file)
@@ -18,7 +18,7 @@ SO_MAJOR_VERSION= 6
 SO_MINOR_VERSION= 5
 
 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