diff options
| author | Steve Dower <steve.dower@python.org> | 2019-10-16 17:27:17 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-10-16 17:27:17 (GMT) |
| commit | 7aebbd1182bc818324656b2fb764679faf51fdff (patch) | |
| tree | de159bc32df8f1db5b5d4433efcac69639a3cde3 | |
| parent | 392a13bb9346331b087bcd8bb1b37072c126abee (diff) | |
| download | cpython-7aebbd1182bc818324656b2fb764679faf51fdff.zip cpython-7aebbd1182bc818324656b2fb764679faf51fdff.tar.gz cpython-7aebbd1182bc818324656b2fb764679faf51fdff.tar.bz2 | |
bpo-38492: Remove pythonw.exe dependency on the Microsoft C++ runtime (GH-16824)
| -rw-r--r-- | Misc/NEWS.d/next/Windows/2019-10-16-09-49-09.bpo-38492.Te1LxC.rst | 1 | ||||
| -rw-r--r-- | PCbuild/pythonw_uwp.vcxproj | 9 |
2 files changed, 10 insertions, 0 deletions
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 index 0000000..41fe695 --- /dev/null +++ b/Misc/NEWS.d/next/Windows/2019-10-16-09-49-09.bpo-38492.Te1LxC.rst @@ -0,0 +1 @@ +Remove ``pythonw.exe`` dependency on the Microsoft C++ runtime. diff --git a/PCbuild/pythonw_uwp.vcxproj b/PCbuild/pythonw_uwp.vcxproj index 79e1058..e2c0171 100644 --- a/PCbuild/pythonw_uwp.vcxproj +++ b/PCbuild/pythonw_uwp.vcxproj @@ -65,6 +65,15 @@ <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> |
