mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fix location of extensions in bundled gems when static-linked-ext
Install bundled gem extension files to the gem extension directory under DESTDIR, when static-linked-ext as well as non-static case.
This commit is contained in:
parent
81f08edbd6
commit
c57ac4c6e0
Notes:
git
2021-12-21 02:02:17 +09:00
1 changed files with 1 additions and 1 deletions
|
@ -1069,7 +1069,7 @@ install?(:ext, :comm, :gem, :'bundled-gems') do
|
|||
gems.each do |gem|
|
||||
package = Gem::Package.new(gem)
|
||||
inst = RbInstall::GemInstaller.new(package, options)
|
||||
inst.spec.extension_dir = with_destdir(inst.spec.extension_dir)
|
||||
inst.spec.extension_dir = "#{extensions_dir}/#{inst.spec.full_name}"
|
||||
begin
|
||||
Gem::DefaultUserInteraction.use_ui(silent) {inst.install}
|
||||
rescue Gem::InstallError
|
||||
|
|
Loading…
Add table
Reference in a new issue