diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-12-21 01:05:51 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-12-21 02:01:57 +0900 |
commit | c57ac4c6e0acf9b4c1fbb3092eefc89873c5d249 (patch) | |
tree | 2086e50c30e1736056387cbc929c6acf1dc11cdb | |
parent | 81f08edbd6f1d7c9ebd39dbe6766cde59173e75a (diff) |
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.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/5308
-rwxr-xr-x | tool/rbinstall.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/rbinstall.rb b/tool/rbinstall.rb index c8557a0e48..80d65bba13 100755 --- a/tool/rbinstall.rb +++ b/tool/rbinstall.rb @@ -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 |