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
This commit is contained in:
Martin Weinelt
2025-05-12 13:48:36 +00:00
committed by ealvarez@mozilla.com
parent f6bcf36a92
commit 212f5ffea7

View File

@@ -1192,7 +1192,9 @@ def enable_system_icu_option(enable_system_icu):
return enable_system_icu
system_icu = pkg_check_modules("MOZ_ICU", "icu-i18n >= 76.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)