Add ICU_CFLAGS to global CPPFLAGS

Enterprise / PostgreSQL - Peter Eisentraut [gmx.net] - 12 June 2017 15:57 EDT

The original code only added ICU_CFLAGS to the backend build. But it is also needed for building external modules that include pg_locale.h. So add it to the global CPPFLAGS. (This is only relevant if ICU is not in a compiler default path, so it apparently hasn't bitten many.)

94c2ed0 Add ICU_CFLAGS to global CPPFLAGS
src/Makefile.global.in | 2 ++
src/backend/common.mk | 2 --
src/backend/snowball/Makefile | 3 +--
3 files changed, 3 insertions(+), 4 deletions(-)

Upstream: git.postgresql.org


  • Share