mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-10-29 12:01:35 +01:00
* respect Dontlinkstdlibpath when adding a default library search path
git-svn-id: trunk@22011 -
This commit is contained in:
parent
19ed835f2b
commit
ad3aa937d3
@ -125,6 +125,7 @@ begin
|
|||||||
{$ifdef FPC_ARMHF}
|
{$ifdef FPC_ARMHF}
|
||||||
{ at least raspian has the crt*.o files at an uncommon location,
|
{ 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
|
||||||
LibrarySearchPath.AddPath(sysrootpath,'/usr/lib/arm-linux-gnueabihf',true);
|
LibrarySearchPath.AddPath(sysrootpath,'/usr/lib/arm-linux-gnueabihf',true);
|
||||||
{$endif FPC_ARMHF}
|
{$endif FPC_ARMHF}
|
||||||
{$endif arm}
|
{$endif arm}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user