pgsql: Fix build of MSVC with OpenSSL 3.0.0

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix build of MSVC with OpenSSL 3.0.0
Date: 2021-10-20 07:50:11
Message-ID: E1md6MV-0007dw-Ma@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/922e3c3b72d847bc9010b19a1f31875e6be49577

Modified Files
--------------
src/tools/msvc/Solution.pm | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2021-10-20 07:59:29 Re: pgsql: Ensure correct lock level is used in ALTER ... RENAME
Previous Message Dilip Kumar 2021-10-20 04:55:05 Re: pgsql: Document XLOG_INCLUDE_XID a little better