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

(cherry picked from commit f37ace7036)
This commit is contained in:
bruvzg 2023-08-23 09:54:06 +03:00 committed by Yuri Sizov
parent e30ff075ce
commit d3265cf518
1 changed files with 1 additions and 0 deletions

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"]: