diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-02-25 05:41:16 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-02-25 05:41:16 +0000 |
commit | 593ffbcf717bde5aa9b695aeb7808ddd74bb4ccf (patch) | |
tree | f738d2f23ee5b4cd51eec06dd046ed410d82d24d /tool/rbinstall.rb | |
parent | 2c183f552034ac32a026daeed2c95839fefa34b5 (diff) |
mkmf.rb: default libdirname
* lib/mkmf.rb (MakeMakefile#init_mkmf): default libdirname to libdir.
* tool/rbinstall.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool/rbinstall.rb')
-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 f85465979c..0febf203dc 100755 --- a/tool/rbinstall.rb +++ b/tool/rbinstall.rb @@ -304,7 +304,7 @@ rubyw_install_name = CONFIG["rubyw_install_name"] goruby_install_name = "go" + ruby_install_name bindir = CONFIG["bindir", true] -libdir = CONFIG[CONFIG["libdirname", true], true] +libdir = CONFIG[CONFIG.fetch("libdirname", "libdir"), true] rubyhdrdir = CONFIG["rubyhdrdir", true] archhdrdir = CONFIG["rubyarchhdrdir"] || (rubyhdrdir + "/" + CONFIG['arch']) rubylibdir = CONFIG["rubylibdir", true] |