Browse Source

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

bruvzg 2 năm trước cách đây
mục cha
commit
f37ace7036
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      platform/windows/SCsub

+ 1 - 0
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"]: