* Android: Quote a path to crt object files if needed. It fixes linking when a library path contains spaces.

git-svn-id: trunk@23607 -
This commit is contained in:
yury 2013-02-13 15:50:58 +00:00
parent 22116ce9be
commit 92b2ef2059

View File

@ -228,7 +228,7 @@ begin
else
s:='crtbegin_dynamic.o';
librarysearchpath.FindFile(s,false,s1);
AddFileName(s1);
AddFileName(maybequoted(s1));
{ main objectfiles }
while not ObjectFiles.Empty do
begin
@ -297,7 +297,7 @@ begin
else
s:='crtend_android.o';
librarysearchpath.FindFile(s,false,s1);
AddFileName(s1);
AddFileName(maybequoted(s1));
Add(')');
{ Additions to the linker script }