diff --git a/meson.build b/meson.build index eeb89981..79e97f46 100644 --- a/meson.build +++ b/meson.build @@ -77,9 +77,15 @@ else endif if xapian_dep.found() - icu_dep = dependency('icu-i18n', static:static_linkage) + icu_dep = [ + dependency('icu-i18n', static:static_linkage), + dependency('icu-uc', static:static_linkage) + ] else - icu_dep = dependency('icu-i18n', required:false, static:static_linkage) + icu_dep = [ + dependency('icu-i18n', required:false, static:static_linkage), + dependency('icu-uc', required:false, static:static_linkage) + ] endif gtest_dep = dependency('gtest', version: '>=1.10.0', main:true, fallback:['gtest', 'gtest_main_dep'], required:false)