diff --git a/platform/windows/SCsub b/platform/windows/SCsub index 7b3e07e43bb..adc02305cdd 100644 --- a/platform/windows/SCsub +++ b/platform/windows/SCsub @@ -57,8 +57,10 @@ sources += res_obj if env["library_type"] == "static_library": prog = env.add_library("#bin/godot", common_win + res_obj, PROGSUFFIX=env["PROGSUFFIX"]) + sources += common_win_wrap elif env["library_type"] == "shared_library": prog = env.add_shared_library("#bin/godot", common_win + res_obj, PROGSUFFIX=env["PROGSUFFIX"]) + sources += common_win_wrap else: prog = env.add_program("#bin/godot", common_win + res_obj, PROGSUFFIX=env["PROGSUFFIX"]) @@ -81,7 +83,7 @@ else: arrange_program_clean(prog_wrap) env_wrap.Depends(prog_wrap, prog) -sources += common_win_wrap + res_wrap_obj + sources += common_win_wrap + res_wrap_obj # Microsoft Visual Studio Project Generation if env["vsproj"]: