mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-06 11:50:19 +02:00
* fix bootstrapping *BSD with 3.2.2, which isn't flagged as supporting weakexternal on those targets
This commit is contained in:
parent
46de243fe6
commit
5418ccf31e
@ -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';
|
||||
|
Loading…
Reference in New Issue
Block a user