1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[ruby/fiddle] Fix filenames for glibc SO files on alpha and ia64

(https://github.com/ruby/fiddle/pull/105)

Fixes [Bug #18645]

https://github.com/ruby/fiddle/commit/9a5a1dab1d
This commit is contained in:
John Paul Adrian Glaubitz 2022-03-19 22:16:07 +01:00 committed by Nobuyoshi Nakada
parent 08ec656282
commit 93da67d463
Notes: git 2022-10-18 08:22:06 +00:00

View file

@ -49,8 +49,14 @@ when /linux/
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"