Index: fpcsrc/compiler/systems/t_linux.pas
===================================================================
--- fpcsrc/compiler/systems/t_linux.pas	(revision 23621)
+++ fpcsrc/compiler/systems/t_linux.pas	(working copy)
@@ -118,7 +118,11 @@
 {$ifdef powerpc64}
    LibrarySearchPath.AddPath(sysrootpath,'/lib64;/usr/lib64;/usr/X11R6/lib64',true);
 {$else powerpc64}
+{$ifdef arm}
+   LibrarySearchPath.AddPath(sysrootpath,'/lib;/usr/lib;/usr/X11R6/lib:/usr/lib/arm-linux-gnueabi',true);
+{$else arm}
    LibrarySearchPath.AddPath(sysrootpath,'/lib;/usr/lib;/usr/X11R6/lib',true);
+{$endif arm}
 {$endif powerpc64}
 {$endif x86_64}
 end;
