ruby-changes:70385
From: Nobuyoshi <ko1@a...>
Date: Tue, 21 Dec 2021 02:02:10 +0900 (JST)
Subject: [ruby-changes:70385] c57ac4c6e0 (master): Fix location of extensions in bundled gems when static-linked-ext
https://git.ruby-lang.org/ruby.git/commit/?id=c57ac4c6e0 From c57ac4c6e0acf9b4c1fbb3092eefc89873c5d249 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Tue, 21 Dec 2021 01:05:51 +0900 Subject: 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. --- tool/rbinstall.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tool/rbinstall.rb b/tool/rbinstall.rb index c8557a0e48f..80d65bba13b 100755 --- a/tool/rbinstall.rb +++ b/tool/rbinstall.rb @@ -1069,7 +1069,7 @@ install?(:ext, :comm, :gem, :'bundled-gems') do https://github.com/ruby/ruby/blob/trunk/tool/rbinstall.rb#L1069 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 -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/