mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 22:09:32 +02:00
* fixed dyn. linker handling
This commit is contained in:
parent
55e845aa5e
commit
7e778c5d78
@ -407,8 +407,10 @@ begin
|
|||||||
{ when we have -static for the linker the we also need libgcc }
|
{ when we have -static for the linker the we also need libgcc }
|
||||||
if (cs_link_staticflag in aktglobalswitches) then
|
if (cs_link_staticflag in aktglobalswitches) then
|
||||||
LinkRes.Add('-lgcc');
|
LinkRes.Add('-lgcc');
|
||||||
|
{ the dyn. linker should be passed only with -dynamic-linker to ld
|
||||||
if linkdynamic and (Info.DynamicLinker<>'') then
|
if linkdynamic and (Info.DynamicLinker<>'') then
|
||||||
LinkRes.AddFileName(Info.DynamicLinker);
|
LinkRes.AddFileName(Info.DynamicLinker);
|
||||||
|
}
|
||||||
LinkRes.Add(')');
|
LinkRes.Add(')');
|
||||||
end;
|
end;
|
||||||
|
|
||||||
@ -590,7 +592,10 @@ end.
|
|||||||
|
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
Revision 1.27 2004-11-05 11:04:23 florian
|
Revision 1.28 2004-11-05 12:27:27 florian
|
||||||
|
* fixed dyn. linker handling
|
||||||
|
|
||||||
|
Revision 1.27 2004/11/05 11:04:23 florian
|
||||||
* path of dyn. linker on arm for linux fixed
|
* path of dyn. linker on arm for linux fixed
|
||||||
|
|
||||||
Revision 1.26 2004/10/24 13:36:26 peter
|
Revision 1.26 2004/10/24 13:36:26 peter
|
||||||
|
Loading…
Reference in New Issue
Block a user