ALT Linux repos
Group :: Development/Other
RPM: fpc
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: fpc-aarch64-paths.patch
Download
Download
diff --git a/fpcbuild/fpcsrc/compiler/systems/t_linux.pas b/fpcbuild/fpcsrc/compiler/systems/t_linux.pas
index ac7c74d80..7c31e760e 100644
--- a/fpcbuild/fpcsrc/compiler/systems/t_linux.pas
+++ b/fpcbuild/fpcsrc/compiler/systems/t_linux.pas
@@ -165,6 +165,7 @@ begin
{$endif i386}
{$ifdef aarch64}
LibrarySearchPath.AddLibraryPath(sysrootpath,'=/usr/lib64',true);
+ LibrarySearchPath.AddLibraryPath(sysrootpath,'=/lib64',true);
LibrarySearchPath.AddLibraryPath(sysrootpath,'=/usr/lib/aarch64-linux-gnu',true);
{$endif aarch64}
{$ifdef powerpc}
@@ -224,7 +225,7 @@ end;
{$endif arm}
{$ifdef aarch64}
-const defdynlinker='/lib/ld-linux-aarch64.so.1';
+const defdynlinker='/lib64/ld-linux-aarch64.so.1';
{$endif aarch64}
{$ifdef mips}