[Windows] Detect missing DLL dependencies and list them in the open_dynamic_library error message.
This commit is contained in:
@ -409,6 +409,9 @@ def configure_msvc(env, vcvars_msvc_config):
|
||||
"wbemuuid",
|
||||
]
|
||||
|
||||
if env.debug_features:
|
||||
LIBS += ["psapi", "dbghelp"]
|
||||
|
||||
if env["vulkan"]:
|
||||
env.AppendUnique(CPPDEFINES=["VULKAN_ENABLED"])
|
||||
if not env["use_volk"]:
|
||||
@ -587,6 +590,9 @@ def configure_mingw(env):
|
||||
]
|
||||
)
|
||||
|
||||
if env.debug_features:
|
||||
env.Append(LIBS=["psapi", "dbghelp"])
|
||||
|
||||
if env["vulkan"]:
|
||||
env.Append(CPPDEFINES=["VULKAN_ENABLED"])
|
||||
if not env["use_volk"]:
|
||||
|
||||
Reference in New Issue
Block a user