diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-01-16 04:12:58 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-01-16 04:12:58 +0000 |
commit | 9e322773561788bbee3b7daaefbb415ae4618b45 (patch) | |
tree | 42e45f89236476893a962dda6a3a6f7f1314e3b4 /tool | |
parent | f4c6ed4650571a3b7d88d3eb9c139b776bdf429a (diff) | |
download | ruby-9e322773561788bbee3b7daaefbb415ae4618b45.tar.gz |
rbinstall.rb: use DLEXT
* tool/rbinstall.rb (RbInstall::Specs::FileCollector#built_libraries):
use configured value DLEXT instead of hardcoded suffix. shared
object suffix is system dependent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool')
-rwxr-xr-x | tool/rbinstall.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tool/rbinstall.rb b/tool/rbinstall.rb index ece1080bc4..3ea7e7f3d8 100755 --- a/tool/rbinstall.rb +++ b/tool/rbinstall.rb @@ -584,7 +584,8 @@ module RbInstall when "ext" prefix = "#{$extout}/#{CONFIG['arch']}/" base = "#{prefix}#{relative_base}" - Dir.glob("#{base}{.so,/**/*.so}").collect do |built_library| + dlext = CONFIG['DLEXT'] + Dir.glob("#{base}{.#{dlext},/**/*.#{dlext}}").collect do |built_library| remove_prefix(prefix, built_library) end when "lib" |