Browse Source

* add i386 multi-arch library directory (patch by Edmund Grimley Evans)

git-svn-id: trunk@31980 -
Jonas Maebe 9 years ago
parent
commit
21d6b45020
1 changed files with 3 additions and 0 deletions
  1. 3 0
      compiler/systems/t_linux.pas

+ 3 - 0
compiler/systems/t_linux.pas

@@ -151,6 +151,9 @@ begin
 {$ifdef x86_64}
 {$ifdef x86_64}
       LibrarySearchPath.AddPath(sysrootpath,'/usr/lib/x86_64-linux-gnu',true);
       LibrarySearchPath.AddPath(sysrootpath,'/usr/lib/x86_64-linux-gnu',true);
 {$endif x86_64}
 {$endif x86_64}
+{$ifdef i386}
+      LibrarySearchPath.AddPath(sysrootpath,'/usr/lib/i386-linux-gnu',true);
+{$endif i386}
     end;
     end;
 end;
 end;