mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 11:29:24 +02:00
* don't put the prtobj file in the BSD linker script, in case the current system uses sysinit
git-svn-id: trunk@41696 -
This commit is contained in:
parent
f1a7e2cdc5
commit
a15ec46751
@ -571,7 +571,7 @@ begin
|
||||
if not LdSupportsNoResponseFile then
|
||||
LinkRes.Add('INPUT(');
|
||||
{ add objectfiles, start with prt0 always }
|
||||
if prtobj<>'' then
|
||||
if not (target_info.system in systems_internal_sysinit) and (prtobj<>'') then
|
||||
LinkRes.AddFileName(FindObjectFile(prtobj,'',false));
|
||||
{ try to add crti and crtbegin if linking to C }
|
||||
if linklibc and
|
||||
|
Loading…
Reference in New Issue
Block a user