Skip to content

Commit

Permalink
[ruby/fiddle] Fix filenames for glibc SO files on alpha and ia64
Browse files Browse the repository at this point in the history
  • Loading branch information
glaubitz authored and nobu committed Oct 18, 2022
1 parent 06fa5ba commit 0c58263
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions test/fiddle/helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,14 @@
libm_so = libc_so
else
# glibc
libc_so = "libc.so.6"
libm_so = "libm.so.6"
case RUBY_PLATFORM
when /alpha-linux/, /ia64-linux/
libc_so = "libc.so.6.1"
libm_so = "libm.so.6.1"
else
libc_so = "libc.so.6"
libm_so = "libm.so.6"
end
end
when /mingw/, /mswin/
require "rbconfig"
Expand Down

0 comments on commit 0c58263

Please sign in to comment.