mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-16 08:00:52 +02:00
* fpc_LibInitializeUnits can be empty if the target has no shared lib support
git-svn-id: trunk@18871 -
This commit is contained in:
parent
519df6d3a8
commit
e3e1e4b7c6
@ -809,10 +809,12 @@ procedure internal_initializeunits; external name 'FPC_INITIALIZEUNITS';
|
||||
|
||||
procedure fpc_LibInitializeUnits;[public,alias:'FPC_LIBINITIALIZEUNITS'];
|
||||
begin
|
||||
{$ifdef FPC_HAS_FEATURE_DYNLIBS}
|
||||
IsLibrary:=true;
|
||||
{ must also be set to true for packages when implemented }
|
||||
ModuleIsLib:=true;
|
||||
internal_initializeunits;
|
||||
{$endif FPC_HAS_FEATURE_DYNLIBS}
|
||||
end;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user