Skip to content

Commit

Permalink
pythongh-115167: Exclude vcruntime140_threads.dll from Windows build …
Browse files Browse the repository at this point in the history
…output (pythonGH-115176)

(cherry picked from commit 5914a21)

Co-authored-by: adang1345 <adang1345@gmail.com>
  • Loading branch information
adang1345 authored and miss-islington committed Feb 8, 2024
1 parent dc01c84 commit 4c118e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Avoid vendoring ``vcruntime140_threads.dll`` when building with Visual Studio 2022 version 17.8.
2 changes: 1 addition & 1 deletion PCbuild/pyproject.props
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,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) == ''" />
Expand Down

0 comments on commit 4c118e9

Please sign in to comment.