mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-14 03:19:27 +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}
|
||||
|
||||
{$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 }
|
||||
if not Dontlinkstdlibpath Then
|
||||
{$ifdef FPC_ARMHF}
|
||||
@ -145,6 +145,9 @@ begin
|
||||
LibrarySearchPath.AddPath(sysrootpath,'/usr/lib/arm-linux-gnueabi',true);
|
||||
{$endif}
|
||||
{$endif arm}
|
||||
{$ifdef x86_64}
|
||||
LibrarySearchPath.AddPath(sysrootpath,'/usr/lib/x86_64-linux-gnu',true);
|
||||
{$endif x86_64}
|
||||
end;
|
||||
|
||||
{$ifdef m68k}
|
||||
|
Loading…
Reference in New Issue
Block a user