mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Track RubyGems master(3.3.0.dev) branch at 55634a8af18a52df86c4275d70fa1179118bcc20
This commit is contained in:
parent
35c3a24c8c
commit
5537adf719
Notes:
git
2021-01-04 13:15:11 +09:00
31 changed files with 257 additions and 216 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