]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-38492: Remove pythonw.exe dependency on the Microsoft C++ runtime (GH-16824)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 17 Apr 2020 23:31:28 +0000 (16:31 -0700)
committerGitHub <noreply@github.com>
Fri, 17 Apr 2020 23:31:28 +0000 (16:31 -0700)
(cherry picked from commit 7aebbd1182bc818324656b2fb764679faf51fdff)

Co-authored-by: Steve Dower <steve.dower@python.org>
Misc/NEWS.d/next/Windows/2019-10-16-09-49-09.bpo-38492.Te1LxC.rst [new file with mode: 0644]
PCbuild/pythonw_uwp.vcxproj

diff --git a/Misc/NEWS.d/next/Windows/2019-10-16-09-49-09.bpo-38492.Te1LxC.rst b/Misc/NEWS.d/next/Windows/2019-10-16-09-49-09.bpo-38492.Te1LxC.rst
new file mode 100644 (file)
index 0000000..41fe695
--- /dev/null
@@ -0,0 +1 @@
+Remove ``pythonw.exe`` dependency on the Microsoft C++ runtime.
index 3da05e351d483096865f87874be363040ab3f2fc..6ff6abb57161bcb130373f780227cdd8cb188602 100644 (file)
       <SubSystem>Windows</SubSystem>
     </Link>
   </ItemDefinitionGroup>
+  <ItemDefinitionGroup Condition="$(Configuration) != 'Debug'">
+    <ClCompile>
+      <RuntimeLibrary>Multithreaded</RuntimeLibrary>
+    </ClCompile>
+    <Link>
+      <AdditionalDependencies>ucrt.lib;%(AdditionalDependencies)</AdditionalDependencies>
+      <IgnoreSpecificDefaultLibraries>libucrt;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
+    </Link>
+  </ItemDefinitionGroup>
   <ItemGroup>
     <None Include="..\PC\pyconw.ico" />
   </ItemGroup>