Fix: update icu libraries version

This commit is contained in:
Mikhail Lobotskiy
2025-09-10 16:46:03 +04:00
parent a96460f096
commit ac9bf053f2

View File

@ -52,14 +52,14 @@ public class NativeLibraryLoader {
Path libDirPath = getLibPath();
// load icu libraries
if (OSChecker.isWindows()) {
System.load(libDirPath.resolve("icudt58.dll").toString());
System.load(libDirPath.resolve("icuuc58.dll").toString());
System.load(libDirPath.resolve("icudt74.dll").toString());
System.load(libDirPath.resolve("icuuc74.dll").toString());
} else if (OSChecker.isMac()) {
loadIfExist(libDirPath.resolve("libicudata.58.dylib").toString());
loadIfExist(libDirPath.resolve("libicuuc.58.dylib").toString());
loadIfExist(libDirPath.resolve("libicudata.74.dylib").toString());
loadIfExist(libDirPath.resolve("libicuuc.74.dylib").toString());
} else if (OSChecker.isLinux()) {
System.load(libDirPath.resolve("libicudata.so.58").toString());
System.load(libDirPath.resolve("libicuuc.so.58").toString());
System.load(libDirPath.resolve("libicudata.so.74").toString());
System.load(libDirPath.resolve("libicuuc.so.74").toString());
} else {
throw new RuntimeException("Unsupported OS");
}