diff options
author | adang1345 <adang1345@gmail.com> | 2024-02-08 21:42:45 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-08 21:42:45 (GMT) |
commit | 5914a211ef5542edd1f792c2684e373a42647b04 (patch) | |
tree | ce81450a6044c772dccbf92faa178b91a363ac69 | |
parent | ed1a8daf10bc471f929c14c2d1e0474d44a63b00 (diff) | |
download | cpython-5914a211ef5542edd1f792c2684e373a42647b04.zip cpython-5914a211ef5542edd1f792c2684e373a42647b04.tar.gz cpython-5914a211ef5542edd1f792c2684e373a42647b04.tar.bz2 |
gh-115167: Exclude vcruntime140_threads.dll from Windows build output (GH-115176)
-rw-r--r-- | Misc/NEWS.d/next/Build/2024-02-08-19-36-20.gh-issue-115167.LB9nDK.rst | 1 | ||||
-rw-r--r-- | PCbuild/pyproject.props | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/Misc/NEWS.d/next/Build/2024-02-08-19-36-20.gh-issue-115167.LB9nDK.rst b/Misc/NEWS.d/next/Build/2024-02-08-19-36-20.gh-issue-115167.LB9nDK.rst new file mode 100644 index 0000000..c60c4a9 --- /dev/null +++ b/Misc/NEWS.d/next/Build/2024-02-08-19-36-20.gh-issue-115167.LB9nDK.rst @@ -0,0 +1 @@ +Avoid vendoring ``vcruntime140_threads.dll`` when building with Visual Studio 2022 version 17.8. diff --git a/PCbuild/pyproject.props b/PCbuild/pyproject.props index fd5fbc9..9c85e5e 100644 --- a/PCbuild/pyproject.props +++ b/PCbuild/pyproject.props @@ -250,7 +250,7 @@ public override bool Execute() { <VCRuntimeDLL Include="$(VCRuntimeDLL)" /> </ItemGroup> <ItemGroup Condition="$(VCInstallDir) != '' and $(VCRuntimeDLL) == ''"> - <VCRuntimeDLL Include="$(VCRedistDir)\Microsoft.VC*.CRT\vcruntime*.dll" /> + <VCRuntimeDLL Include="$(VCRedistDir)\Microsoft.VC*.CRT\vcruntime*.dll" Exclude="$(VCRedistDir)\Microsoft.VC*.CRT\vcruntime*_threads.dll" /> </ItemGroup> <Warning Text="vcruntime*.dll not found under $(VCRedistDir)." Condition="@(VCRuntimeDLL) == ''" /> |