Skip to content

Commit

Permalink
proton: Link ICU 6.8 32 bit dlls into the prefix.
Browse files Browse the repository at this point in the history
CW-Bug-Id: #24402
  • Loading branch information
Paul Gofman committed Nov 18, 2024
1 parent e972fa2 commit 3301bd3
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions proton
Original file line number Diff line number Diff line change
Expand Up @@ -1034,9 +1034,15 @@ class CompatData:
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')
dst = "drive_c/windows/system32/" + f + ".dll"
if not file_exists(self.prefix_dir + dst, follow_symlinks=False):
tracked_files.write(dst + '\n')
self.create_symlink(self.prefix_dir + dst, g_proton.lib64_dir + "icu/" + f + ".dll")

dst = "drive_c/windows/syswow64/" + f + ".dll"
if not file_exists(self.prefix_dir + dst, follow_symlinks=False):
tracked_files.write(dst + '\n')
self.create_symlink(self.prefix_dir + dst, g_proton.lib_dir + "icu/" + f + ".dll")

# If the user requested the NVAPI be available, copy it into place.
# If they didn't, clean up any stray nvapi DLLs.
Expand Down

0 comments on commit 3301bd3

Please sign in to comment.