]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-fts: Add lib-fts to CPPFLAGS as include dir
authorAki Tuomi <aki.tuomi@dovecot.fi>
Thu, 7 Jan 2016 09:09:50 +0000 (11:09 +0200)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Fri, 15 Jan 2016 17:11:47 +0000 (19:11 +0200)
Without this, VPATH builds fail because the includes cannot be
found as they are not on same directory.

src/lib-fts/Makefile.am

index 80d31ae7b70734e45dd30da9858fc1971fe5e8d7..41959e0c8b8c939e971e98817b0c5de2f68cde0f 100644 (file)
@@ -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"\" \