UPD: OpenSSL library versions (issue #674)

(cherry picked from commit 3232137533)
This commit is contained in:
Alexander Koblov 2022-11-20 10:45:24 +03:00
commit 0a15654e73

View file

@ -60,11 +60,22 @@ const
LibUtilName = 'libcrypto';
{ ADD NEW ONES WHEN THEY APPEAR!
Always make .so/dylib first, then versions, in descending order!
Always make .so/dylib last (Darwin won't load unversioned), then versions,
in descending order! Add "." .before the version}
{$IFDEF DARWIN}
LibVersions: array[1..12] of String = ('.48', '.47', '.46', '.45', '.44',
'.43', '.42', '.41', '.39', '.35',
'.0.9.8', '.0.9.7');
{Always make .so/dylib first, then versions, in descending order!
Add "." .before the version, first is always just "" }
LibVersions: array[1..13] of String = ('', '.1.1', '.1.0.2', '.1.0.1','.1.0.0',
'.0.9.8', '.0.9.7', '.0.9.6', '.0.9.5',
'.0.9.4', '.0.9.3', '.0.9.2', '.0.9.1');
{$ELSE}
LibVersions: array[1..18] of String = ('', '.111', '.1.1.1',
'.11', '.1.1', '.1.1.0',
'.10', '.1.0.2', '.1.0.1',
'.1.0.0', '.0.9.8', '.0.9.7',
'.0.9.6', '.0.9.5', '.0.9.4',
'.0.9.3', '.0.9.2', '.0.9.1');
{$ENDIF}
function GetLibraryName(const Value: String; Index: Integer): String;
begin