Skip to content

Commit c46dc6f

Browse files
bpo-38492: Remove pythonw.exe dependency on the Microsoft C++ runtime (GH-16824)
(cherry picked from commit 7aebbd1) Co-authored-by: Steve Dower <[email protected]>
1 parent 11ae7d0 commit c46dc6f

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Remove ``pythonw.exe`` dependency on the Microsoft C++ runtime.

PCbuild/pythonw_uwp.vcxproj

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,15 @@
6666
<SubSystem>Windows</SubSystem>
6767
</Link>
6868
</ItemDefinitionGroup>
69+
<ItemDefinitionGroup Condition="$(Configuration) != 'Debug'">
70+
<ClCompile>
71+
<RuntimeLibrary>Multithreaded</RuntimeLibrary>
72+
</ClCompile>
73+
<Link>
74+
<AdditionalDependencies>ucrt.lib;%(AdditionalDependencies)</AdditionalDependencies>
75+
<IgnoreSpecificDefaultLibraries>libucrt;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
76+
</Link>
77+
</ItemDefinitionGroup>
6978
<ItemGroup>
7079
<None Include="..\PC\pyconw.ico" />
7180
</ItemGroup>

0 commit comments

Comments
 (0)