mirror of
				https://gitlab.com/freepascal.org/fpc/source.git
				synced 2025-11-04 09:19:39 +01:00 
			
		
		
		
	+ at least raspian has no soft links in /usr/lib to crt*.o, so add their location to the search path
git-svn-id: trunk@22004 -
This commit is contained in:
		
							parent
							
								
									e4a719fcff
								
							
						
					
					
						commit
						2b6fc9b1ee
					
				@ -120,6 +120,14 @@ begin
 | 
			
		||||
   LibrarySearchPath.AddPath(sysrootpath,'/lib;/usr/lib;/usr/X11R6/lib',true);
 | 
			
		||||
{$endif powerpc64}
 | 
			
		||||
{$endif x86_64}
 | 
			
		||||
 | 
			
		||||
{$ifdef arm}
 | 
			
		||||
{$ifdef FPC_ARMHF}
 | 
			
		||||
  { at least raspian has the crt*.o files at an uncommon location,
 | 
			
		||||
    for other arm flavours, this cannot hurt }
 | 
			
		||||
  LibrarySearchPath.AddPath(sysrootpath,'/usr/lib/arm-linux-gnueabihf',true);
 | 
			
		||||
{$endif FPC_ARMHF}
 | 
			
		||||
{$endif arm}
 | 
			
		||||
end;
 | 
			
		||||
 | 
			
		||||
{$ifdef m68k}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user