mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 11:09:42 +02:00
* Interface wrappers must be global when linking smart, Mantis #19462. Other targets already have this condition in place.
git-svn-id: trunk@17631 -
This commit is contained in:
parent
ed2fda6927
commit
9608c4eabe
@ -1667,7 +1667,7 @@ begin
|
||||
Internalerror(200109191);
|
||||
|
||||
make_global := False;
|
||||
if (not current_module.is_unit) or
|
||||
if (not current_module.is_unit) or create_smartlink or
|
||||
(procdef.owner.defowner.owner.symtabletype = globalsymtable) then
|
||||
make_global := True;
|
||||
|
||||
|
@ -1363,7 +1363,7 @@ implementation
|
||||
Internalerror(200109191);
|
||||
|
||||
make_global:=false;
|
||||
if (not current_module.is_unit) or
|
||||
if (not current_module.is_unit) or create_smartlink or
|
||||
(procdef.owner.defowner.owner.symtabletype=globalsymtable) then
|
||||
make_global:=true;
|
||||
|
||||
|
@ -161,7 +161,7 @@ unit cgcpu;
|
||||
Internalerror(200109191);
|
||||
|
||||
make_global:=false;
|
||||
if (not current_module.is_unit) or
|
||||
if (not current_module.is_unit) or create_smartlink or
|
||||
(procdef.owner.defowner.owner.symtabletype=globalsymtable) then
|
||||
make_global:=true;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user