[macOS]: arm64, correctly find clang which is not a symblink from cc
This commit is contained in:
		
							parent
							
								
									e8bff295f9
								
							
						
					
					
						commit
						ac8af47d7f
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		
							
								
								
									
										2
									
								
								configure
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								configure
									
										
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -57,7 +57,7 @@ case $targetos in
 | 
			
		|||
  Darwin)
 | 
			
		||||
    confvars="$confvars OSX dll=no"
 | 
			
		||||
    cc=`which cc`
 | 
			
		||||
    cc=`readlink $cc`
 | 
			
		||||
    cc=`readlink $cc || echo clang`
 | 
			
		||||
    tcc_usrinclude="`xcrun --show-sdk-path`/usr/include"
 | 
			
		||||
    DLLSUF=".dylib"
 | 
			
		||||
    ;;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue