mirror of https://github.com/python/cpython.git
[3.11] gh-110437: Allow overriding VCRuntimeDLL with a semicolon separated list of DLLs to bundle (GH-110470)
gh-110437: Allow overriding VCRuntimeDLL with a semicolon separated list of DLLs to bundle (GH-110470)
(cherry picked from commit 12cc6792d0
)
Co-authored-by: Steve Dower <steve.dower@python.org>
This commit is contained in:
parent
b473d48505
commit
26c3e700b1
|
@ -0,0 +1,2 @@
|
|||
Allows overriding the source of VC redistributables so that releases can be
|
||||
guaranteed to never downgrade between updates.
|
|
@ -229,7 +229,10 @@ public override bool Execute() {
|
|||
</Target>
|
||||
|
||||
<Target Name="FindVCRuntime" Returns="VCRuntimeDLL" DependsOnTargets="FindVCRedistDir">
|
||||
<ItemGroup Condition="$(VCInstallDir) != ''">
|
||||
<ItemGroup Condition="$(VCRuntimeDLL) != ''">
|
||||
<VCRuntimeDLL Include="$(VCRuntimeDLL)" />
|
||||
</ItemGroup>
|
||||
<ItemGroup Condition="$(VCInstallDir) != '' and $(VCRuntimeDLL) == ''">
|
||||
<VCRuntimeDLL Include="$(VCRedistDir)\Microsoft.VC*.CRT\vcruntime*.dll" />
|
||||
</ItemGroup>
|
||||
|
||||
|
|
Loading…
Reference in New Issue