mirror of
https://github.com/ruby/ruby.git
synced 2025-09-18 10:03:59 +02:00
Merge RubyGems-3.2.4
This commit is contained in:
parent
d4f5827a6d
commit
c721e36cec
18 changed files with 107 additions and 172 deletions
|
@ -8,8 +8,7 @@
|
|||
class Gem::Ext::ConfigureBuilder < Gem::Ext::Builder
|
||||
def self.build(extension, dest_path, results, args=[], lib_dir=nil, configure_dir=Dir.pwd)
|
||||
unless File.exist?(File.join(configure_dir, 'Makefile'))
|
||||
cmd = "sh ./configure --prefix=#{dest_path}"
|
||||
cmd << " #{args.join ' '}" unless args.empty?
|
||||
cmd = ["sh", "./configure", "--prefix=#{dest_path}", *args]
|
||||
|
||||
run cmd, results, class_name, configure_dir
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue