| 
									
										
										
										
											2020-10-10 14:16:11 +02:00
										 |  |  | # typed: strict | 
					
						
							| 
									
										
										
										
											2019-04-19 15:38:03 +09:00
										 |  |  | # frozen_string_literal: true | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-06-13 16:59:10 +01:00
										 |  |  | module OS | 
					
						
							|  |  |  |   module Linux | 
					
						
							|  |  |  |     module FormulaCellarChecks | 
					
						
							|  |  |  |       sig { params(filename: Pathname).returns(T::Boolean) } | 
					
						
							|  |  |  |       def valid_library_extension?(filename) | 
					
						
							|  |  |  |         super || filename.basename.to_s.include?(".so.") | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |     end | 
					
						
							| 
									
										
										
										
											2018-08-14 11:55:39 -07:00
										 |  |  |   end | 
					
						
							|  |  |  | end | 
					
						
							| 
									
										
										
										
											2025-06-13 16:59:10 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | FormulaCellarChecks.prepend(OS::Linux::FormulaCellarChecks) |