Skip to content

Commit 046430c

Browse files
cho-mmarco-ippolito
authored andcommitted
build: fix building with system icu 76
ICU 76 decided to reduce overlinking[^1] thus `icu-i18n` will no longer add `icu-uc` when linking to shared libraries. This results in undefined symbols/references when trying to build with system ICU 76. [^1]: unicode-org/icu@199bc82 PR-URL: #55563 Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 07359ec commit 046430c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1829,7 +1829,7 @@ def icu_download(path):
18291829
elif with_intl == 'system-icu':
18301830
# ICU from pkg-config.
18311831
o['variables']['v8_enable_i18n_support'] = 1
1832-
pkgicu = pkg_config('icu-i18n')
1832+
pkgicu = pkg_config(['icu-i18n', 'icu-uc'])
18331833
if not pkgicu[0]:
18341834
error('''Could not load pkg-config data for "icu-i18n".
18351835
See above errors or the README.md.''')

0 commit comments

Comments
 (0)