Skip to content

Commit 7773d39

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 afbcd9f commit 7773d39

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
@@ -65,6 +65,15 @@
6565
<SubSystem>Windows</SubSystem>
6666
</Link>
6767
</ItemDefinitionGroup>
68+
<ItemDefinitionGroup Condition="$(Configuration) != 'Debug'">
69+
<ClCompile>
70+
<RuntimeLibrary>Multithreaded</RuntimeLibrary>
71+
</ClCompile>
72+
<Link>
73+
<AdditionalDependencies>ucrt.lib;%(AdditionalDependencies)</AdditionalDependencies>
74+
<IgnoreSpecificDefaultLibraries>libucrt;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
75+
</Link>
76+
</ItemDefinitionGroup>
6877
<ItemGroup>
6978
<None Include="..\PC\pyconw.ico" />
7079
</ItemGroup>

0 commit comments

Comments
 (0)