* fix bootstrapping *BSD with 3.2.2, which isn't flagged as supporting weakexternal on those targets

This commit is contained in:
marcoonthegit 2022-06-18 14:52:24 +02:00
parent 46de243fe6
commit 5418ccf31e

View File

@ -1261,7 +1261,7 @@ type
end;
// *BSD isn't flagged for "weak" support in 3.2.2
{$if defined(BSD) and defined (VER3_2)}
{$if defined(BSD) and defined (VER3_2_2)}
function _dladdr(Lib:pointer; info: Pdl_info): Longint; cdecl; external LibDL name 'dladdr';
{$else}
function _dladdr(Lib:pointer; info: Pdl_info): Longint; cdecl; weakexternal LibDL name 'dladdr';