From 0c20782ec9e9b0ff17ac8def6c57e6ff6b57e113 Mon Sep 17 00:00:00 2001 From: Pascal Packaging Team Date: Sat, 3 Feb 2018 09:30:21 +0000 Subject: [PATCH] fix_FTBFS_on_linux_not_amd64 Gbp-Pq: Name fix_FTBFS_on_linux_not_amd64.patch --- fpcsrc/compiler/systems/t_linux.pas | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/fpcsrc/compiler/systems/t_linux.pas b/fpcsrc/compiler/systems/t_linux.pas index cdfcac06..ed0161c7 100644 --- a/fpcsrc/compiler/systems/t_linux.pas +++ b/fpcsrc/compiler/systems/t_linux.pas @@ -151,6 +151,15 @@ begin {$ifdef i386} LibrarySearchPath.AddPath(sysrootpath,'/usr/lib/i386-linux-gnu',true); {$endif i386} +{$ifdef powerpc} + LibrarySearchPath.AddPath(sysrootpath,'/usr/lib/powerpc-linux-gnu',true); +{$endif powerpc} +{$ifdef powerpc64} + LibrarySearchPath.AddPath(sysrootpath,'/usr/lib/powerpc64-linux-gnu',true); +{$endif powerpc64} +{$ifdef aarch64} + LibrarySearchPath.AddPath(sysrootpath,'/usr/lib/aarch64-linux-gnu',true); +{$endif aarch64} end; {$ifdef m68k} -- 2.30.2