* i8086-msdos internal linker: put the static libraries in a group, to enable

multiple passes when resolving symbols

git-svn-id: trunk@31338 -
This commit is contained in:
nickysn 2015-08-18 13:37:57 +00:00
parent 3c0d83bd74
commit 0dab94e35d

View File

@ -434,12 +434,14 @@ begin
if s<>'' then
LinkScript.Concat('READOBJECT ' + maybequoted(s));
end;
LinkScript.Concat('GROUP');
while not StaticLibFiles.Empty do
begin
s:=StaticLibFiles.GetFirst;
if s<>'' then
LinkScript.Concat('READSTATICLIBRARY '+MaybeQuoted(s));
end;
LinkScript.Concat('ENDGROUP');
LinkScript.Concat('ENTRYNAME ..start');
end;