summaryrefslogtreecommitdiff
path: root/tool/rbinstall.rb
diff options
context:
space:
mode:
authorNobuyoshi Nakada <[email protected]>2024-11-09 19:58:44 +0900
committerNobuyoshi Nakada <[email protected]>2024-11-09 19:58:44 +0900
commit379bbd6d9c1269809aea4566da0727eaf3f77c32 ()
tree2e5e54bc015300923a16ce6b08ab41d3b611718c /tool/rbinstall.rb
parent303a52c201a693345cf789e9fb7edbcefcb34ec9 (diff)
[Bug #20800] Move executable binary file path
From under "libexec", under `$(target)/bin` like as binutils.
Notes: Merged: https://.com/ruby/ruby/pull/12043
-rwxr-xr-xtool/rbinstall.rb6
1 files changed, 1 insertions, 5 deletions
@@ -367,11 +367,7 @@ goruby_install_name = "go" + ruby_install_name
bindir = CONFIG["bindir", true]
if CONFIG["libdirname"] == "archlibdir"
- libexecdir = MAKEFILE_CONFIG["archlibdir"].dup
- unless libexecdir.sub!(/\$\(lib\K(?=dir\))/) {"exec"}
- libexecdir = "$(libexecdir)/$(arch)"
- end
- archbindir = RbConfig.expand(libexecdir)
end
libdir = CONFIG[CONFIG.fetch("libdirname", "libdir"), true]
rubyhdrdir = CONFIG["rubyhdrdir", true]