Skip to content

Commit c3ca978

Browse files
cho-mruyadorno
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 8c2fc11 commit c3ca978

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
@@ -1876,7 +1876,7 @@ def icu_download(path):
18761876
elif with_intl == 'system-icu':
18771877
# ICU from pkg-config.
18781878
o['variables']['v8_enable_i18n_support'] = 1
1879-
pkgicu = pkg_config('icu-i18n')
1879+
pkgicu = pkg_config(['icu-i18n', 'icu-uc'])
18801880
if not pkgicu[0]:
18811881
error('''Could not load pkg-config data for "icu-i18n".
18821882
See above errors or the README.md.''')

0 commit comments

Comments
 (0)