mirror of
https://github.com/python/cpython.git
synced 2026-01-04 14:32:21 +00:00
bpo-45720: Drop references to shlwapi.dll on Windows (GH-29417)
This commit is contained in:
parent
279a7a0c94
commit
804ea41211
3 changed files with 4 additions and 2 deletions
|
|
@ -0,0 +1,3 @@
|
|||
Internal reference to :file:`shlwapi.dll` was dropped to help improve
|
||||
startup time. This DLL will no longer be loaded at the start of every Python
|
||||
process.
|
||||
|
|
@ -91,7 +91,6 @@
|
|||
|
||||
#include <windows.h>
|
||||
#include <pathcch.h>
|
||||
#include <shlwapi.h>
|
||||
|
||||
#ifdef HAVE_SYS_TYPES_H
|
||||
#include <sys/types.h>
|
||||
|
|
|
|||
|
|
@ -106,7 +106,7 @@
|
|||
<PreprocessorDefinitions Condition="$(IncludeExternals)">_Py_HAVE_ZLIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalDependencies>version.lib;shlwapi.lib;ws2_32.lib;pathcch.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<AdditionalDependencies>version.lib;ws2_32.lib;pathcch.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue