mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-01 13:30:47 +02:00
* don't call parameter setup code for library init code (darwin/mac os)
git-svn-id: trunk@2313 -
This commit is contained in:
parent
10153d061d
commit
2ef0f67ebb
@ -1703,7 +1703,8 @@ implementation
|
||||
end;
|
||||
|
||||
{ call startup helpers from main program }
|
||||
if (current_procinfo.procdef.proctypeoption=potype_proginit) then
|
||||
if (current_procinfo.procdef.proctypeoption=potype_proginit) and
|
||||
not(current_module.islibrary) then
|
||||
begin
|
||||
if (target_info.system = system_powerpc_darwin) or
|
||||
(target_info.system = system_powerpc_macos) then
|
||||
|
Loading…
Reference in New Issue
Block a user