diff options
author | John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> | 2022-03-19 22:16:07 +0100 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-10-18 17:21:45 +0900 |
commit | 93da67d46394007aa977c9345535c37878fd0db9 (patch) | |
tree | 0ddb2c6125b8dd0f929da71a7b0fc9138b287a27 /test | |
parent | 08ec6562822f0734f246741ebc9b0fa0829f8208 (diff) |
[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
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/6576
Diffstat (limited to 'test')
-rw-r--r-- | test/fiddle/helper.rb | 10 |
1 files 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/ 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" |