2
0
Эх сурвалжийг харах

+ add static libraries to the wlink script for the msdos target

git-svn-id: branches/i8086@23966 -
nickysn 12 жил өмнө
parent
commit
fb12778f0e

+ 6 - 0
compiler/systems/t_msdos.pas

@@ -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));