diff --git a/src/meson.build b/src/meson.build index 876dca661..60260bb09 100644 --- a/src/meson.build +++ b/src/meson.build @@ -185,11 +185,6 @@ if conf.get('HAVE_GLIB', 0) == 1 hb_headers += hb_glib_headers endif -if conf.get('HAVE_ICU', 0) == 1 - hb_sources += hb_icu_sources - hb_headers += hb_icu_headers -endif - if conf.get('HAVE_UNISCRIBE', 0) == 1 hb_sources += ['hb-uniscribe.cc'] hb_headers += ['hb-uniscribe.h'] @@ -210,6 +205,12 @@ if get_option('amalgam') hb_sources = ['harfbuzz.cc'] endif +# FIXME: move into harfbuzz-icu module +if conf.get('HAVE_ICU', 0) == 1 + hb_sources += hb_icu_sources + hb_headers += hb_icu_headers +endif + # harfbuzz gen_def = find_program('gen-def.py') harfbuzz_def = custom_target('harfbuzz.def',