Mercurial > dovecot > core-2.2
changeset 19417:6dafc8b24681
lib-fts: Fix compilation for systems without libicu.
The earlier patch, 194e3622d5e6, did not consider both library dependencies.
author | Teemu Huovila <teemu.huovila@dovecot.fi> |
---|---|
date | Wed, 25 Nov 2015 15:09:52 +0200 |
parents | d204b943dd21 |
children | 129e61ef9de4 |
files | src/lib-fts/test-fts-filter.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-fts/test-fts-filter.c Tue Nov 24 13:42:58 2015 +0200 +++ b/src/lib-fts/test-fts-filter.c Wed Nov 25 15:09:52 2015 +0200 @@ -14,7 +14,7 @@ static struct fts_language english_language = { .name = "en" }; static struct fts_language french_language = { .name = "fr" }; static struct fts_language norwegian_language = { .name = "no" }; -#ifdef HAVE_FTS_STEMMER +#if defined(HAVE_LIBICU) && defined(HAVE_FTS_STEMMER) static struct fts_language swedish_language = { .name = "sv" }; #endif