mirror of
https://github.com/ruby/ruby.git
synced 2025-08-24 13:34:17 +02:00
Sync latest development version of bundler & rubygems
This commit is contained in:
parent
2ab6b7a751
commit
53468cc111
Notes:
git
2021-03-08 13:47:56 +09:00
161 changed files with 2544 additions and 1016 deletions
|
@ -28,13 +28,14 @@ class Gem::Ext::Builder
|
|||
unless make_program
|
||||
make_program = (/mswin/ =~ RUBY_PLATFORM) ? 'nmake' : 'make'
|
||||
end
|
||||
make_program = Shellwords.split(make_program)
|
||||
|
||||
destdir = 'DESTDIR=%s' % ENV['DESTDIR']
|
||||
|
||||
['clean', '', 'install'].each do |target|
|
||||
# Pass DESTDIR via command line to override what's in MAKEFLAGS
|
||||
cmd = [
|
||||
make_program,
|
||||
*make_program,
|
||||
destdir,
|
||||
target,
|
||||
].reject(&:empty?)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue