Skip to content

Commit 5fc2f55

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 21e3b31 commit 5fc2f55

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
@@ -233,7 +233,7 @@ public override bool Execute() {
233233
<VCRuntimeDLL Include="$(VCRuntimeDLL)" />
234234
</ItemGroup>
235235
<ItemGroup Condition="$(VCInstallDir) != '' and $(VCRuntimeDLL) == ''">
236-
<VCRuntimeDLL Include="$(VCRedistDir)\Microsoft.VC*.CRT\vcruntime*.dll" />
236+
<VCRuntimeDLL Include="$(VCRedistDir)\Microsoft.VC*.CRT\vcruntime*.dll" Exclude="$(VCRedistDir)\Microsoft.VC*.CRT\vcruntime*_threads.dll" />
237237
</ItemGroup>
238238

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

0 commit comments

Comments
 (0)