mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 16:49:07 +02:00
+ add debian armel library search path
+ for armhf, use the more canonical ld-linux-armhf.so.3 as defdynlinker git-svn-id: trunk@22416 -
This commit is contained in:
parent
8799d9d204
commit
f5ddc02a5c
@ -122,12 +122,15 @@ begin
|
|||||||
{$endif x86_64}
|
{$endif x86_64}
|
||||||
|
|
||||||
{$ifdef arm}
|
{$ifdef arm}
|
||||||
{$ifdef FPC_ARMHF}
|
{ some newver Debian have the crt*.o files at uncommon locations,
|
||||||
{ at least raspian has the crt*.o files at an uncommon location,
|
|
||||||
for other arm flavours, this cannot hurt }
|
for other arm flavours, this cannot hurt }
|
||||||
if not Dontlinkstdlibpath Then
|
if not Dontlinkstdlibpath Then
|
||||||
|
{$ifdef FPC_ARMHF}
|
||||||
LibrarySearchPath.AddPath(sysrootpath,'/usr/lib/arm-linux-gnueabihf',true);
|
LibrarySearchPath.AddPath(sysrootpath,'/usr/lib/arm-linux-gnueabihf',true);
|
||||||
{$endif FPC_ARMHF}
|
{$endif FPC_ARMHF}
|
||||||
|
{$ifdef FPC_ARMEL}
|
||||||
|
LibrarySearchPath.AddPath(sysrootpath,'/usr/lib/arm-linux-gnueabi',true);
|
||||||
|
{$endif}
|
||||||
{$endif arm}
|
{$endif arm}
|
||||||
end;
|
end;
|
||||||
|
|
||||||
@ -158,7 +161,7 @@ end;
|
|||||||
|
|
||||||
{$ifdef arm}
|
{$ifdef arm}
|
||||||
{$ifdef FPC_ARMHF}
|
{$ifdef FPC_ARMHF}
|
||||||
const defdynlinker='/lib/arm-linux-gnueabihf/ld-linux.so.3';
|
const defdynlinker='/lib/ld-linux-armhf.so.3';
|
||||||
{$else FPC_ARMHF}
|
{$else FPC_ARMHF}
|
||||||
{$ifdef FPC_ARMEL}
|
{$ifdef FPC_ARMEL}
|
||||||
const defdynlinker='/lib/ld-linux.so.3';
|
const defdynlinker='/lib/ld-linux.so.3';
|
||||||
|
Loading…
Reference in New Issue
Block a user