Skip to content

Commit 235c54f

Browse files
gh-115167: Exclude vcruntime140_threads.dll from Windows build output (GH-115176)
(cherry picked from commit 5914a21) Co-authored-by: adang1345 <adang1345@gmail.com>
1 parent 108ff59 commit 235c54f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Avoid vendoring ``vcruntime140_threads.dll`` when building with Visual Studio 2022 version 17.8.

PCbuild/pyproject.props

+1-1
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ public override bool Execute() {
236236
<VCRuntimeDLL Include="$(VCRuntimeDLL)" />
237237
</ItemGroup>
238238
<ItemGroup Condition="$(VCInstallDir) != '' and $(VCRuntimeDLL) == ''">
239-
<VCRuntimeDLL Include="$(VCRedistDir)\Microsoft.VC*.CRT\vcruntime*.dll" />
239+
<VCRuntimeDLL Include="$(VCRedistDir)\Microsoft.VC*.CRT\vcruntime*.dll" Exclude="$(VCRedistDir)\Microsoft.VC*.CRT\vcruntime*_threads.dll" />
240240
</ItemGroup>
241241

242242
<Warning Text="vcruntime*.dll not found under $(VCRedistDir)." Condition="@(VCRuntimeDLL) == ''" />

0 commit comments

Comments
 (0)