ruby-changes:74099
From: John <ko1@a...>
Date: Tue, 18 Oct 2022 17:22:03 +0900 (JST)
Subject: [ruby-changes:74099] 93da67d463 (master): [ruby/fiddle] Fix filenames for glibc SO files on alpha and ia64
https://git.ruby-lang.org/ruby.git/commit/?id=93da67d463 From 93da67d46394007aa977c9345535c37878fd0db9 Mon Sep 17 00:00:00 2001 From: John Paul Adrian Glaubitz <glaubitz@p...> Date: Sat, 19 Mar 2022 22:16:07 +0100 Subject: [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 --- test/fiddle/helper.rb | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/test/fiddle/helper.rb b/test/fiddle/helper.rb index 0ea3bf57f4..e470f5a276 100644 --- a/test/fiddle/helper.rb +++ b/test/fiddle/helper.rb @@ -49,8 +49,14 @@ when /linux/ https://github.com/ruby/ruby/blob/trunk/test/fiddle/helper.rb#L49 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" -- cgit v1.2.3 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/