mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 12:29:18 +02:00
+ add static libraries to the wlink script for the msdos target
git-svn-id: branches/i8086@23966 -
This commit is contained in:
parent
f2242568bb
commit
fb12778f0e
@ -253,6 +253,12 @@ begin
|
|||||||
if s<>'' then
|
if s<>'' then
|
||||||
LinkRes.Add('file ' + maybequoted(s));
|
LinkRes.Add('file ' + maybequoted(s));
|
||||||
end;
|
end;
|
||||||
|
while not StaticLibFiles.Empty do
|
||||||
|
begin
|
||||||
|
s:=StaticLibFiles.GetFirst;
|
||||||
|
if s<>'' then
|
||||||
|
LinkRes.Add('library '+MaybeQuoted(s));
|
||||||
|
end;
|
||||||
LinkRes.Add('format dos');
|
LinkRes.Add('format dos');
|
||||||
LinkRes.Add('option dosseg');
|
LinkRes.Add('option dosseg');
|
||||||
LinkRes.Add('name ' + maybequoted(current_module.exefilename));
|
LinkRes.Add('name ' + maybequoted(current_module.exefilename));
|
||||||
|
Loading…
Reference in New Issue
Block a user