Fix building with ICU >= 76

Since version 76 ICU wants to prevent overlinking [1] and icu-i18n
doesn't add icu-uc to the link interface anymore.

[1] https://github.com/unicode-org/icu/commit/199bc827021ffdb43b6579d68e5eecf54c7f6f56
This commit is contained in:
Heiko Becker
2024-11-09 13:25:52 +01:00
committed by Ralph Sennhauser
parent 58e16c2057
commit 5643e90b19
+2
View File
@@ -432,6 +432,7 @@ extern_lib_defs = {
add_default_include_paths("icu")
else
pkgconfig.add_includes("icu-i18n")
pkgconfig.add_includes("icu-uc")
end
end,
link_settings = function()
@@ -444,6 +445,7 @@ extern_lib_defs = {
})
else
pkgconfig.add_links("icu-i18n")
pkgconfig.add_links("icu-uc")
end
end,
},