mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-23 00:09:31 +02:00
* solaris port doesn't need the startup files
git-svn-id: trunk@2460 -
This commit is contained in:
parent
a59690b147
commit
d26f004cdb
@ -303,8 +303,11 @@ begin
|
||||
|
||||
LinkRes.Add('INPUT(');
|
||||
{ add objectfiles, start with prt0 always }
|
||||
{ solaris port contains _start inside the system unit, it
|
||||
needs only one entry because it is linked always against libc
|
||||
if prtobj<>'' then
|
||||
LinkRes.AddFileName(FindObjectFile(prtobj,'',false));
|
||||
}
|
||||
{ try to add crti and crtbegin if linking to C }
|
||||
if linklibc then { Needed in solaris? }
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user