From fb12778f0e80c008e129660d8e6d8cee2281aa7b Mon Sep 17 00:00:00 2001 From: nickysn Date: Sat, 23 Mar 2013 00:05:50 +0000 Subject: [PATCH] + add static libraries to the wlink script for the msdos target git-svn-id: branches/i8086@23966 - --- compiler/systems/t_msdos.pas | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/compiler/systems/t_msdos.pas b/compiler/systems/t_msdos.pas index 495d68cd4b..413b71e37d 100644 --- a/compiler/systems/t_msdos.pas +++ b/compiler/systems/t_msdos.pas @@ -253,6 +253,12 @@ begin if s<>'' then LinkRes.Add('file ' + maybequoted(s)); 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('option dosseg'); LinkRes.Add('name ' + maybequoted(current_module.exefilename));