]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix build of MSVC with OpenSSL 3.0.0
authorMichael Paquier <michael@paquier.xyz>
Wed, 20 Oct 2021 07:49:10 +0000 (16:49 +0900)
committerMichael Paquier <michael@paquier.xyz>
Wed, 20 Oct 2021 07:49:10 +0000 (16:49 +0900)
commit922e3c3b72d847bc9010b19a1f31875e6be49577
tree677ed3a468329c22f931a3f23b5ea05c2f8c7664
parent9681c8fd5fd03f9abe830049575c156534f4f587
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