Re: add support for the old naming libs convention on windows (ssleay32.lib and libeay32.lib)

Daniel Gustafsson <daniel@yesql.se>

From: Daniel Gustafsson <daniel@yesql.se>
To: Darek Ślusarczyk <dslusarczyk@splunk.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>, Nazir Bilal Yavuz <byavuz81@gmail.com>
Date: 2024-12-27T13:22:32Z
Lists: pgsql-hackers
> On 9 Dec 2024, at 07:25, Darek Ślusarczyk <dslusarczyk@splunk.com> wrote:

> I've prepared another patch:
> - it prioritizes libssl and libcrypto over ssleay32 and libeay32
> - it checks ssleay32 and libeay32 on windows only
> - I tested it locally on both lnx/win enforcing various possible scenarios

I'm neither a Windows or Meson expert but this seems correct to me and matches
the autoconf stanza for OpenSSL libraries on Windows.  CC:ing one of the
project experts on Meson for a second opinion.

--
Daniel Gustafsson




Commits

  1. meson: Fix linking using old OpenSSL lib names

  2. Remove support for linking with libeay32 and ssleay32