Skip to content

Commit

Permalink
default_pfx: Set DLL search path.
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Pouech authored and ivyl committed Feb 15, 2024
1 parent 2781aa3 commit 53eee31
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions default_pfx.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,12 @@ def make_default_pfx(default_pfx_dir, dist_dir):
local_env = dict(os.environ)

ld_path = dist_dir + "/lib64:" + dist_dir + "/lib"
dll_path = dist_dir + "/lib64/vkd3d:" + dist_dir + "/lib/vkd3d"

local_env["LD_LIBRARY_PATH"] = ld_path
local_env["WINEPREFIX"] = default_pfx_dir
local_env["WINEDEBUG"] = "-all"
local_env["WINEDLLPATH"] = dll_path
runtime_args = []

subprocess.run(runtime_args + ["/bin/bash", "-c",
Expand Down

0 comments on commit 53eee31

Please sign in to comment.