# HG changeset patch # User Martin Weinelt # Date 1747057716 0 # Node ID 1c2e812125e0f1ada57bbe606bf46fb7be9e9059 # Parent f2dc324ff88fea439d7c4c6a5ffd2ff327b5b377 Bug 1927380 - Update icu pkgconfig module lookup r=anba After upgrading to icu76 the build started failing to look up symbols from icu when using the --system-icu option. Updating the pkgconfig lookups to also read the icu-uc pkgconfig fixes the build. Differential Revision: https://phabricator.services.mozilla.com/D248707 diff --git a/js/moz.configure b/js/moz.configure --- a/js/moz.configure +++ b/js/moz.configure @@ -1300,17 +1300,19 @@ system_lib_option( ) @depends("--with-system-icu", when=use_pkg_config) def enable_system_icu_option(enable_system_icu): return enable_system_icu -system_icu = pkg_check_modules("MOZ_ICU", "icu-i18n >= 73.1", when="--with-system-icu") +system_icu = pkg_check_modules( + "MOZ_ICU", "icu-uc icu-i18n >= 76.1", when="--with-system-icu" +) @depends(enable_system_icu_option) def in_tree_icu(system_icu): return not system_icu # Set MOZ_ICU_CFLAGS to an explicit empty value when --with-system-icu is *not* used,