+ at least raspian has no soft links in /usr/lib to crt*.o, so add their location to the search path

git-svn-id: trunk@22004 -
This commit is contained in:
florian 2012-08-04 08:16:02 +00:00
parent e4a719fcff
commit 2b6fc9b1ee

View File

@ -120,6 +120,14 @@ begin
LibrarySearchPath.AddPath(sysrootpath,'/lib;/usr/lib;/usr/X11R6/lib',true);
{$endif powerpc64}
{$endif x86_64}
{$ifdef arm}
{$ifdef FPC_ARMHF}
{ at least raspian has the crt*.o files at an uncommon location,
for other arm flavours, this cannot hurt }
LibrarySearchPath.AddPath(sysrootpath,'/usr/lib/arm-linux-gnueabihf',true);
{$endif FPC_ARMHF}
{$endif arm}
end;
{$ifdef m68k}