diff options
-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" |