diff --git a/NEWS b/NEWS index 2137da84f..4e52ba89b 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,6 @@ ver 0.23.16 (not yet released) * support libfmt 11 +* support ICU 76 ver 0.23.15 (2023/12/20) * decoder diff --git a/src/lib/icu/meson.build b/src/lib/icu/meson.build index 92f9e6b1f..3d52213a9 100644 --- a/src/lib/icu/meson.build +++ b/src/lib/icu/meson.build @@ -1,5 +1,7 @@ -icu_dep = dependency('icu-i18n', version: '>= 50', required: get_option('icu')) -conf.set('HAVE_ICU', icu_dep.found()) +icu_i18n_dep = dependency('icu-i18n', version: '>= 50', required: get_option('icu')) +icu_uc_dep = dependency('icu-uc', version: '>= 50', required: get_option('icu')) +have_icu = icu_i18n_dep.found() and icu_uc_dep.found() +conf.set('HAVE_ICU', have_icu) icu_sources = [ 'CaseFold.cxx', @@ -13,7 +15,7 @@ if is_windows endif iconv_dep = [] -if icu_dep.found() +if have_icu icu_sources += [ 'Util.cxx', 'Init.cxx', @@ -44,7 +46,8 @@ icu = static_library( icu_sources, include_directories: inc, dependencies: [ - icu_dep, + icu_i18n_dep, + icu_uc_dep, iconv_dep, fmt_dep, ],