aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2022-08-12 13:38:21 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2022-08-12 15:55:40 +0900
commit04815ea968ebef616cfdb316840158f6c87a7277 (patch)
tree7d90cc4009962d81d0303547d78309bbb2868135
parentd9f1b8baa3a21b2a65af7fcab6a45c30b3f9efee (diff)
downloadruby-04815ea968ebef616cfdb316840158f6c87a7277.tar.gz
All extensions in bundled gems are built by build-ext now
`RbInstall::GemInstaller#build_extensions` has nothing to do.
-rwxr-xr-xtool/rbinstall.rb7
1 files changed, 2 insertions, 5 deletions
diff --git a/tool/rbinstall.rb b/tool/rbinstall.rb
index ba0d911fc2..e6fff940ee 100755
--- a/tool/rbinstall.rb
+++ b/tool/rbinstall.rb
@@ -904,11 +904,8 @@ module RbInstall
RbInstall.no_write(options) {super}
end
- if RbConfig::CONFIG["LIBRUBY_RELATIVE"] == "yes" || RbConfig::CONFIG["CROSS_COMPILING"] == "yes" || ENV["DESTDIR"]
- # TODO: always build extensions in bundled gems by build-ext and
- # install the built binaries.
- def build_extensions
- end
+ # Now build-ext builds all extensions including bundled gems.
+ def build_extensions
end
def generate_bin_script(filename, bindir)