* search also /usr/lib64 for libraries etc. on aarch64-linux, apparently some distros use it

git-svn-id: trunk@46913 -
This commit is contained in:
florian 2020-09-21 17:57:19 +00:00
parent b55c740702
commit 7107c39440

View File

@ -170,6 +170,7 @@ begin
LibrarySearchPath.AddLibraryPath(sysrootpath,'=/lib/i386-linux-gnu',true);
{$endif i386}
{$ifdef aarch64}
LibrarySearchPath.AddLibraryPath(sysrootpath,'=/usr/lib64',true);
LibrarySearchPath.AddLibraryPath(sysrootpath,'=/usr/lib/aarch64-linux-gnu',true);
LibrarySearchPath.AddLibraryPath(sysrootpath,'=/lib/aarch64-linux-gnu',true);
{$endif aarch64}