Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37872958
en ru br
ALT Linux repos
S:3.2.2-alt4
D:2.2.2-alt1
5.0: 2.2.4-alt1
4.1: 2.2.0-alt3
4.0: 2.2.0-alt2
3.0: 1.0.10-alt1

Group :: Development/Other
RPM: fpc

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: fpc-aarch64-paths.patch
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}
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin