mirror of
https://github.com/ruby/ruby.git
synced 2025-09-19 10:33:58 +02:00
Merge RubyGems 3.2.6 and Bundler 2.2.6 (#4103)
This commit is contained in:
parent
41d0c70812
commit
151e469a62
24 changed files with 236 additions and 51 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