From d3265cf518e25323af9c82ec7a7f891562dad7f0 Mon Sep 17 00:00:00 2001 From: bruvzg <7645683+bruvzg@users.noreply.github.com> Date: Wed, 23 Aug 2023 09:54:06 +0300 Subject: [PATCH] [Windows] Add main executable to the console wrapper dependencies to prevent simultaneous linking. (cherry picked from commit f37ace7036b260699af2f10cf00328d07646aebe) --- platform/windows/SCsub | 1 + 1 file changed, 1 insertion(+) diff --git a/platform/windows/SCsub b/platform/windows/SCsub index efbb47d965b..d7dd2241991 100644 --- a/platform/windows/SCsub +++ b/platform/windows/SCsub @@ -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"]: