[Windows] Add main executable to the console wrapper dependencies to prevent simultaneous linking.

This commit is contained in:
bruvzg 2023-08-23 09:54:06 +03:00
parent 6758a7f8c0
commit f37ace7036

View file

@ -44,6 +44,7 @@ if env["windows_subsystem"] == "gui":
env_wrap.Append(LIBS=["version"])
prog_wrap = env_wrap.add_program("#bin/godot", common_win_wrap + res_wrap_obj, PROGSUFFIX=env["PROGSUFFIX_WRAP"])
env_wrap.Depends(prog_wrap, prog)
# Microsoft Visual Studio Project Generation
if env["vsproj"]: