mac/ENV/shared: add check for disabling weak imports.
This commit is contained in:
		
							parent
							
								
									74d4479246
								
							
						
					
					
						commit
						b33fe79478
					
				@ -1,2 +1,6 @@
 | 
			
		||||
module SharedEnvExtension
 | 
			
		||||
  def no_weak_imports?
 | 
			
		||||
    return false unless compiler == :clang
 | 
			
		||||
    MacOS::Xcode.version >= "8.0" || MacOS::CLT.version >= "8.0"
 | 
			
		||||
  end
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user