]> granicus.if.org Git - python/commitdiff
bpo-38492: Remove pythonw.exe dependency on the Microsoft C++ runtime (GH-16824)
authorSteve Dower <steve.dower@python.org>
Wed, 16 Oct 2019 17:27:17 +0000 (10:27 -0700)
committerGitHub <noreply@github.com>
Wed, 16 Oct 2019 17:27:17 +0000 (10:27 -0700)
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 79e105877fbeb26f7534c141c4ddee38439e2a93..e2c01710498eec90f6c613abc6ba5446bfcbf6c3 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>