From 2900d02f0b304f8f0afd02d8fdb9b724e0178dff Mon Sep 17 00:00:00 2001 From: peter Date: Sun, 5 Nov 2006 13:27:29 +0000 Subject: [PATCH] * add maybequoted for filenames git-svn-id: trunk@5245 - --- compiler/systems/t_win.pas | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/compiler/systems/t_win.pas b/compiler/systems/t_win.pas index 9e099f369a..1c6f0c885e 100644 --- a/compiler/systems/t_win.pas +++ b/compiler/systems/t_win.pas @@ -899,19 +899,19 @@ implementation begin s:=ObjectFiles.GetFirst; if s<>'' then - Concat('READOBJECT '+s); + Concat('READOBJECT '+MaybeQuoted(s)); end; while not StaticLibFiles.Empty do begin s:=StaticLibFiles.GetFirst; if s<>'' then - Concat('READSTATICLIBRARY '+s); + Concat('READSTATICLIBRARY '+MaybeQuoted(s)); end; While not SharedLibFiles.Empty do begin S:=SharedLibFiles.GetFirst; if FindLibraryFile(s,target_info.staticClibprefix,target_info.staticClibext,s2) then - Concat('READSTATICLIBRARY '+s2) + Concat('READSTATICLIBRARY '+MaybeQuoted(s2)) else Comment(V_Error,'Import library not found for '+S); end;