summaryrefslogtreecommitdiff
path: root/src/backend/snowball
diff options
context:
space:
mode:
authorPeter Eisentraut2017-06-12 19:57:22 +0000
committerPeter Eisentraut2017-06-12 19:57:22 +0000
commit94c2ed0ebe005aa6389b02a61e3c16d08035299c (patch)
tree2988263b6bb31a070d487d333cc6c1420497e589 /src/backend/snowball
parent7f28a7946a37e1716fe12c9e8466dbb868292087 (diff)
Add ICU_CFLAGS to global CPPFLAGS
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.)
Diffstat (limited to 'src/backend/snowball')
-rw-r--r--src/backend/snowball/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/backend/snowball/Makefile b/src/backend/snowball/Makefile
index 518178ff396..50cbace41da 100644
--- a/src/backend/snowball/Makefile
+++ b/src/backend/snowball/Makefile
@@ -14,8 +14,7 @@ top_builddir = ../../..
include $(top_builddir)/src/Makefile.global
override CPPFLAGS := -I$(top_srcdir)/src/include/snowball \
- -I$(top_srcdir)/src/include/snowball/libstemmer $(CPPFLAGS) \
- $(ICU_CFLAGS)
+ -I$(top_srcdir)/src/include/snowball/libstemmer $(CPPFLAGS)
OBJS= $(WIN32RES) dict_snowball.o api.o utilities.o \
stem_ISO_8859_1_danish.o \