]> git.ipfire.org Git - thirdparty/postgresql.git/commit
meson: Fix linking using old OpenSSL lib names
authorDaniel Gustafsson <dgustafsson@postgresql.org>
Fri, 7 Feb 2025 14:09:13 +0000 (15:09 +0100)
committerDaniel Gustafsson <dgustafsson@postgresql.org>
Fri, 7 Feb 2025 14:09:13 +0000 (15:09 +0100)
commit0951d4ee42f13405343373a849b2f143528012ca
treed0c884b1d672aa7df473788f23a5064dd9948d05
parent9af2b3435844526ff503f2509c5246749b9c48b0
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 <dslusarczyk@splunk.com>
Reviewed-by: Nazir Bilal Yavuz <byavuz81@gmail.com>
Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
Discussion: https://postgr.es/m/CAN55FZ1Nk8wqY=mTrN78H026TuGV50h2H6uq1PwxhTauPYi3ug@mail.gmail.com
Backpatch-through: 16
meson.build