From 4ea1be2c7e25ece7300dcc1cdd553055e5c54cb1 Mon Sep 17 00:00:00 2001 From: Paul Gofman Date: Thu, 31 Oct 2024 13:41:20 -0600 Subject: [PATCH] proton: Link ICU 6.8 dlls into the prefix. CW-Bug-Id: #24402 --- proton | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/proton b/proton index d1ba5c789..3fad2925c 100755 --- a/proton +++ b/proton @@ -1011,6 +1011,8 @@ class CompatData: else: wined3dfiles.append("d3d8") + icufiles = ["icuin68", "icuuc68", "icudt68"] + for f in wined3dfiles: try_copy(g_proton.default_pfx_dir + "drive_c/windows/system32/" + f + ".dll", "drive_c/windows/system32", prefix=self.prefix_dir, track_file=tracked_files, link_debug=True) @@ -1034,6 +1036,11 @@ class CompatData: prefix=self.prefix_dir, track_file=tracked_files, link_debug=True, optional=optional) g_session.dlloverrides[f] = "n" + for f in icufiles: + self.create_symlink(self.prefix_dir + "drive_c/windows/system32/" + f + ".dll", + g_proton.lib64_dir + "icu/" + f + ".dll") + tracked_files.write("drive_c/windows/system32/" + f + '.dll\n') + # If the user requested the NVAPI be available, copy it into place. # If they didn't, clean up any stray nvapi DLLs. if use_nvapi: