]> granicus.if.org Git - postgresql/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:25 +0000 (17:20 -0400)
Fix an oversight in commit 151e74719b0cc5c040bd3191b51b95f925773dd1 by
back-patching commit 44c5d387eafb4ba1a032f8d7b13d85c553d69181 to 9.0.

src/interfaces/ecpg/ecpglib/Makefile

index f985de17ba5df5b6169ed1eb8ff926e026f76f6d..b19e5d7785f39651da5ddefea182363ec960cdb0 100644 (file)
@@ -18,7 +18,7 @@ SO_MAJOR_VERSION= 6
 SO_MINOR_VERSION= 3
 
 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