Commit 8211f12
committed
fix: disable OpenSSL in libtorrent build
Root cause: Qt (network module) and libtorrent both were statically linking
OpenSSL, causing duplicate symbols. The function pointer table in one copy
got corrupted by /FORCE:MULTIPLE, causing infinite recursion in
tls_parse_all_extensions.
Strategy: Disable OpenSSL in libtorrent entirely (-Dopenssl=OFF). libtorrent
will use Boost.Asio's native TLS support (SChannel on Windows) instead. This
eliminates the duplicate symbol problem entirely - only Qt's OpenSSL will be
in the binary, and it will use schannel so there's no circular dependency.1 parent efbc358 commit 8211f12
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
| 164 | + | |
164 | 165 | | |
165 | 166 | | |
166 | 167 | | |
| |||
0 commit comments