mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-02 18:37:18 +01:00
* 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:
parent
22116ce9be
commit
92b2ef2059
@ -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 }
|
||||
|
||||
Loading…
Reference in New Issue
Block a user