From 79d7caa398305c7790770eb182d81e17e10eb35e Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Tue, 22 Nov 2022 12:13:46 +0000 Subject: [PATCH] README.md: delete "Libs:" lists [ci skip] Despite our "best effort" to keep these up-to-date, they often fall out of sync with reality. Also their order was not the one expected by the linker (`ld` specifically), and guaranteeing the correct ones is a hard task. Also, since earlier this year, curl-for-win switched to a unified distro package (a single .zip), making it straightforward to find out all the static lib dependencies simply by looking at the .a files distributed in the package. As for the correct order of them, either use llvm's lld, which isn't sensitive to it like binutils' ld, or list them between the options `-Wl,--start-group` and `-Wl,--end-group`. With this, we're re dropping these manual lists. Ref: https://github.com/curl/curl-for-win/issues/39 --- README.md | 8 -------- 1 file changed, 8 deletions(-) diff --git a/README.md b/README.md index b5ff70015..3e1e3b19f 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,6 @@ runtime-selectable option: ``` Protocols: dict file ftp ftps gopher gophers http https imap imaps ldap ldaps mqtt pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp ws wss Features: alt-svc AsynchDNS brotli gsasl HSTS HTTP2 HTTP3 HTTPS-proxy IDN IPv6 Kerberos Largefile libz MultiSSL NTLM SPNEGO SSL SSPI threadsafe TLS-SRP UnixSockets zstd -Libs: -lcurl -lz -lcrypt32 -lbcrypt -lwldap32 -lnghttp2 -lssh2 -lgsasl -lssl -lcrypto -lbrotlidec -lbrotlicommon -lzstd -lnghttp3 -lngtcp2 -lngtcp2_crypto_openssl ```
Alternate configurations with different footprints:

@@ -71,37 +70,30 @@ Libs: -lcurl -lz -lcrypt32 -lbcrypt -lwldap32 -lnghttp2 -lssh2 -lgsasl -lssl -lc "big": Protocols: dict file ftp ftps gopher gophers http https imap imaps ldap ldaps mqtt pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp ws wss Features: alt-svc AsynchDNS brotli gsasl HSTS HTTP2 HTTP3 HTTPS-proxy IDN IPv6 Kerberos Largefile libz MultiSSL NTLM PSL SPNEGO SSL SSPI threadsafe UnixSockets zstd -Libs: -lcurl -lz -lcrypt32 -lbcrypt -lwldap32 -lnghttp2 -lssh2 -lgsasl -lssl -lcrypto -lbrotlidec -lbrotlicommon -lzstd -lnghttp3 -lngtcp2 -lngtcp2_crypto_openssl -lidn2 -lpsl -liconv -lunistring "boringssl": Protocols: dict file ftp ftps gopher gophers http https imap imaps ldap ldaps mqtt pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp ws wss Features: alt-svc AsynchDNS brotli gsasl HSTS HTTP2 HTTP3 HTTPS-proxy IDN IPv6 Kerberos Largefile libz MultiSSL NTLM SPNEGO SSL SSPI threadsafe UnixSockets zstd -Libs: -lcurl -lz -lcrypt32 -lbcrypt -lwldap32 -lnghttp2 -lssh2 -lgsasl -lssl -lcrypto -lbrotlidec -lbrotlicommon -lzstd -lnghttp3 -lngtcp2 -lngtcp2_crypto_boringssl "noh3", HTTP/2: Protocols: dict file ftp ftps gopher gophers http https imap imaps ldap ldaps mqtt pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp ws wss Features: alt-svc AsynchDNS brotli gsasl HSTS HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz MultiSSL NTLM SPNEGO SSL SSPI threadsafe TLS-SRP UnixSockets zstd -Libs: -lcurl -lz -lcrypt32 -lbcrypt -lwldap32 -lnghttp2 -lssh2 -lgsasl -lssl -lcrypto -lbrotlidec -lbrotlicommon -lzstd "mini", Schannel, without brotli and zstd: Protocols: dict file ftp ftps gopher gophers http https imap imaps ldap ldaps mqtt pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp ws wss Features: alt-svc AsynchDNS gsasl HSTS HTTP2 IDN IPv6 Kerberos Largefile libz NTLM SPNEGO SSL SSPI threadsafe UnixSockets -Libs: -lcurl -lz -lcrypt32 -lbcrypt -lwldap32 -lnghttp2 -lssh2 -lgsasl "micro", without libssh2 and gsasl: Protocols: dict file ftp ftps gopher gophers http https imap imaps ldap ldaps mqtt pop3 pop3s rtsp smb smbs smtp smtps telnet tftp ws wss Features: alt-svc AsynchDNS HSTS HTTP2 IDN IPv6 Kerberos Largefile libz NTLM SPNEGO SSL SSPI threadsafe UnixSockets -Libs: -lcurl -lz -lcrypt32 -lbcrypt -lwldap32 -lnghttp2 "nano", HTTP/1.1: Protocols: dict file ftp ftps gopher gophers http https imap imaps ldap ldaps mqtt pop3 pop3s rtsp smb smbs smtp smtps telnet tftp ws wss Features: AsynchDNS HSTS IDN IPv6 Kerberos Largefile libz NTLM SPNEGO SSL SSPI threadsafe UnixSockets -Libs: -lcurl -lz -lcrypt32 -lbcrypt -lwldap32 "pico", HTTP/1.1-only: Protocols: http https Features: AsynchDNS HSTS IPv6 Largefile libz SSL SSPI threadsafe UnixSockets -Libs: -lcurl -lz -lcrypt32 -lbcrypt ```