Fix build of MSVC with OpenSSL 3.0.0
authorMichael Paquier <michael@paquier.xyz>
Wed, 20 Oct 2021 07:48:24 +0000 (16:48 +0900)
committerMichael Paquier <michael@paquier.xyz>
Wed, 20 Oct 2021 07:48:24 +0000 (16:48 +0900)
commit41f30ecc29c89285d3eecd435906c4e9cb048be4
treee61d7a0a9c13e5fbd8da32d7bfb18f15ab63da23
parentc2c618ff1137f9ef58827f57e4ec0f97453e454e
Fix build of MSVC with OpenSSL 3.0.0

The build scripts of Visual Studio would fail to detect properly a 3.0.0
build as the check on the second digit was failing.  This is adjusted
where needed, allowing the builds to complete.  Note that the MSIs of
OpenSSL mentioned in the documentation have not changed any library
names for Win32 and Win64, making this change straight-forward.

Reported-by: htalaco, via github
Reviewed-by: Daniel Gustafsson
Discussion: https://postgr.es/m/YW5XKYkq6k7OtrFq@paquier.xyz
Backpatch-through: 9.6
src/tools/msvc/Solution.pm