mirror of
https://github.com/curl/curl.git
synced 2026-08-25 07:03:31 +03:00
windows: reduce/stop loading DLLs at runtime
- replace dynamic `InitSecurityInterface()` call with early binding and link `secur32` system DLL. The library and function are available in all supported curl Windows targets, meaning WinXP or newer. Add small hack for mingw32ce to make it build. - detect and use `if_nametoindex()` on Windows when available. Link `iphlpapi` system DLL. Requires targeting Vista or newer. Replacing the dynamic call and the pre-load optimization for lib3026. Suggested-by: Jay Satiro Closes #17413
This commit is contained in:
parent
c129d0b1a8
commit
0d71b18153
16 changed files with 186 additions and 182 deletions
|
|
@ -118,7 +118,6 @@ set(HAVE_GETSOCKNAME 1)
|
|||
set(HAVE_GLIBC_STRERROR_R 0)
|
||||
set(HAVE_GMTIME_R 0)
|
||||
set(HAVE_IFADDRS_H 0)
|
||||
set(HAVE_IF_NAMETOINDEX 0)
|
||||
set(HAVE_INET_NTOP 0)
|
||||
set(HAVE_INET_PTON 0)
|
||||
set(HAVE_IOCTLSOCKET 1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue