From: Aki Tuomi Date: Thu, 7 Jan 2016 09:09:50 +0000 (+0200) Subject: lib-fts: Add lib-fts to CPPFLAGS as include dir X-Git-Tag: 2.2.22.rc1~347 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7d4c8041ab63e6a1bf17a9b2bb11dd18634971e2;p=thirdparty%2Fdovecot%2Fcore.git 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. --- diff --git a/src/lib-fts/Makefile.am b/src/lib-fts/Makefile.am index 80d31ae7b7..41959e0c8b 100644 --- a/src/lib-fts/Makefile.am +++ b/src/lib-fts/Makefile.am @@ -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"\" \