meson: Fix linking using old OpenSSL lib names

Before OpenSSL 1.1.0 the legacy names ssleay32 and libeay32 were
still used on Windows, and while we have support for this auto-
conf the meson buildsystem only used the new names on all plat-
forms.  This adds support for the old name scheme when building
on Windows.

This patch only applies to 17 and 16 as master no longer support
OpenSSL 1.0.2.

Author: Darek Úlusarczyk <dslusarc...@splunk.com>
Reviewed-by: Nazir Bilal Yavuz <byavu...@gmail.com>
Reviewed-by: Daniel Gustafsson <dan...@yesql.se>
Discussion: 
https://postgr.es/m/CAN55FZ1Nk8wqY=mtrn78h026tugv50h2h6uq1pwxhtaupyi...@mail.gmail.com
Backpatch-through: 16

Branch
------
REL_17_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/0951d4ee42f13405343373a849b2f143528012ca

Modified Files
--------------
meson.build | 33 ++++++++++++++++++++++++++++-----
1 file changed, 28 insertions(+), 5 deletions(-)

Reply via email to