mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	Install gemspec even though no .rb and no .so
When building with --with-static-linked-ext, some exts without rb file doesn't produce neither .so or .rb under .ext/common. Therefore, change rbinstall.rb to install gemspec even if there is no .so or .rb for that case.
This commit is contained in:
		
							parent
							
								
									332d1e52e6
								
							
						
					
					
						commit
						f1a02ebfb9
					
				
				
				Notes:
				
					git
				
				2021-12-16 16:18:00 +09:00 
				
			
			
			
		
		
					 1 changed files with 0 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -966,7 +966,6 @@ def install_default_gem(dir, srcdir, bindir)
 | 
			
		|||
    spec = load_gemspec(src)
 | 
			
		||||
    file_collector = RbInstall::Specs::FileCollector.new(src)
 | 
			
		||||
    files = file_collector.collect
 | 
			
		||||
    next if files.empty?
 | 
			
		||||
    spec.files = files
 | 
			
		||||
    spec
 | 
			
		||||
  }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue