Skip to content

Commit 5914a21

Browse files
authored
gh-115167: Exclude vcruntime140_threads.dll from Windows build output (GH-115176)
1 parent ed1a8da commit 5914a21

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
@@ -250,7 +250,7 @@ public override bool Execute() {
250250
<VCRuntimeDLL Include="$(VCRuntimeDLL)" />
251251
</ItemGroup>
252252
<ItemGroup Condition="$(VCInstallDir) != '' and $(VCRuntimeDLL) == ''">
253-
<VCRuntimeDLL Include="$(VCRedistDir)\Microsoft.VC*.CRT\vcruntime*.dll" />
253+
<VCRuntimeDLL Include="$(VCRedistDir)\Microsoft.VC*.CRT\vcruntime*.dll" Exclude="$(VCRedistDir)\Microsoft.VC*.CRT\vcruntime*_threads.dll" />
254254
</ItemGroup>
255255

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

0 commit comments

Comments
 (0)