proton: Link ICU 6.8 dlls into the prefix.

CW-Bug-Id: #24402
This commit is contained in:
Paul Gofman 2024-10-31 13:41:20 -06:00 committed by Arkadiusz Hiler
parent 83c6c2d1c3
commit 4ea1be2c7e

7
proton
View File

@ -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: