[Windows] Add `libSynchronization` to link flags.

This commit is contained in:
bruvzg 2024-07-17 10:49:07 +03:00
parent 97b8ad1af0
commit 9f714bfde5
1 changed files with 2 additions and 2 deletions

View File

@ -582,7 +582,7 @@ def configure_msvc(env: "SConsEnvironment", vcvars_msvc_config):
"libEGL.windows." + env["arch"] + prebuilt_lib_extra_suffix,
"libGLES.windows." + env["arch"] + prebuilt_lib_extra_suffix,
]
LIBS += ["dxgi", "d3d9", "d3d11"]
LIBS += ["dxgi", "d3d9", "d3d11", "synchronization"]
env.Prepend(CPPPATH=["#thirdparty/angle/include"])
if env["target"] in ["editor", "template_debug"]:
@ -807,7 +807,7 @@ def configure_mingw(env: "SConsEnvironment"):
"ANGLE.windows." + env["arch"],
]
)
env.Append(LIBS=["dxgi", "d3d9", "d3d11"])
env.Append(LIBS=["dxgi", "d3d9", "d3d11", "synchronization"])
env.Prepend(CPPPATH=["#thirdparty/angle/include"])
env.Append(CPPDEFINES=["MINGW_ENABLED", ("MINGW_HAS_SECURE_API", 1)])