default_pfx: Set DLL search path.

This commit is contained in:
Eric Pouech 2023-12-27 16:55:19 +01:00 committed by Arkadiusz Hiler
parent 2781aa3d1c
commit 53eee3161e

View file

@ -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",