changeset 19573:d7bce1945b52

lib-fts: Add lib-fts to CPPFLAGS as include dir Without this, VPATH builds fail because the includes cannot be found as they are not on same directory.
author Aki Tuomi <aki.tuomi@dovecot.fi>
date Thu, 07 Jan 2016 11:09:50 +0200
parents 8bb95d42e5ea
children 0f6713172b2c
files src/lib-fts/Makefile.am
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/lib-fts/Makefile.am	Fri Jan 15 18:03:11 2016 +0200
+++ b/src/lib-fts/Makefile.am	Thu Jan 07 11:09:50 2016 +0200
@@ -1,9 +1,13 @@
 noinst_LTLIBRARIES = libfts.la
 
+# I$(top_srcdir)/src/lib-fts needed to include
+# word-break-data.c and word-boundary-data.c
+# in fts-tokenizer-generic.c
 AM_CPPFLAGS = \
 	-I$(top_srcdir)/src/lib \
 	-I$(top_srcdir)/src/lib-test \
 	-I$(top_srcdir)/src/lib-mail \
+	-I$(top_srcdir)/src/lib-fts \
 	$(LIBEXTTEXTCAT_CFLAGS) \
 	$(LIBICU_CFLAGS) \
 	-DUDHRDIR=\""$(top_srcdir)/src/lib-fts"\" \