Merge pull request #94466 from bruvzg/angle_update_lib
[Windows] Add `libSynchronization` to link flags.
This commit is contained in:
commit
287521c2c2
1 changed files with 2 additions and 2 deletions
|
@ -582,7 +582,7 @@ def configure_msvc(env: "SConsEnvironment", vcvars_msvc_config):
|
||||||
"libEGL.windows." + env["arch"] + prebuilt_lib_extra_suffix,
|
"libEGL.windows." + env["arch"] + prebuilt_lib_extra_suffix,
|
||||||
"libGLES.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"])
|
env.Prepend(CPPPATH=["#thirdparty/angle/include"])
|
||||||
|
|
||||||
if env["target"] in ["editor", "template_debug"]:
|
if env["target"] in ["editor", "template_debug"]:
|
||||||
|
@ -807,7 +807,7 @@ def configure_mingw(env: "SConsEnvironment"):
|
||||||
"ANGLE.windows." + env["arch"],
|
"ANGLE.windows." + env["arch"],
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
env.Append(LIBS=["dxgi", "d3d9", "d3d11"])
|
env.Append(LIBS=["dxgi", "d3d9", "d3d11", "synchronization"])
|
||||||
env.Prepend(CPPPATH=["#thirdparty/angle/include"])
|
env.Prepend(CPPPATH=["#thirdparty/angle/include"])
|
||||||
|
|
||||||
env.Append(CPPDEFINES=["MINGW_ENABLED", ("MINGW_HAS_SECURE_API", 1)])
|
env.Append(CPPDEFINES=["MINGW_ENABLED", ("MINGW_HAS_SECURE_API", 1)])
|
||||||
|
|
Loading…
Reference in a new issue