* correctly handle -XR (sysroot) paths with spaces under Darwin

git-svn-id: trunk@17421 -
This commit is contained in:
Jonas Maebe 2011-05-09 20:14:17 +00:00
parent 129c565312
commit 9cd6a7ad85

View File

@ -243,6 +243,7 @@ begin
result:='/usr/lib/dylib1.o'
end;
end;
result:=maybequoted(result);
end;
@ -320,7 +321,7 @@ begin
(sysrootpath<>'') then
begin
LinkRes.Add('-syslibroot');
LinkRes.Add(sysrootpath);
LinkRes.Add(maybequoted(sysrootpath));
end;
if (not isdll) or