mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-07-18 11:17:21 +02:00
+ search crt* files also in /usr/lib/x86_64-linux-gnu, multiarch supporting distros require this
git-svn-id: trunk@26158 -
This commit is contained in:
parent
409e176ded
commit
c357212b45
@ -135,7 +135,7 @@ begin
|
|||||||
{$endif x86_64}
|
{$endif x86_64}
|
||||||
|
|
||||||
{$ifdef arm}
|
{$ifdef arm}
|
||||||
{ some newver Debian have the crt*.o files at uncommon locations,
|
{ some newer Debian have the crt*.o files at uncommon locations,
|
||||||
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}
|
{$ifdef FPC_ARMHF}
|
||||||
@ -145,6 +145,9 @@ begin
|
|||||||
LibrarySearchPath.AddPath(sysrootpath,'/usr/lib/arm-linux-gnueabi',true);
|
LibrarySearchPath.AddPath(sysrootpath,'/usr/lib/arm-linux-gnueabi',true);
|
||||||
{$endif}
|
{$endif}
|
||||||
{$endif arm}
|
{$endif arm}
|
||||||
|
{$ifdef x86_64}
|
||||||
|
LibrarySearchPath.AddPath(sysrootpath,'/usr/lib/x86_64-linux-gnu',true);
|
||||||
|
{$endif x86_64}
|
||||||
end;
|
end;
|
||||||
|
|
||||||
{$ifdef m68k}
|
{$ifdef m68k}
|
||||||
|
Loading…
Reference in New Issue
Block a user