diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-09-08 19:35:15 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-09-08 19:35:15 +0900 |
commit | 0168094da28c146062db22e69cbd9316418310f9 (patch) | |
tree | 3a90a5c7f2ad3449b900169077032be0b8dbf5aa /test | |
parent | 4530bea88c079081698b4569ab8af43fdfcf1c6b (diff) | |
download | ruby-0168094da28c146062db22e69cbd9316418310f9.tar.gz |
Use libSystem.dylib instead of libm.dylib and libc.dylib
Because macOS 11.0(Big Sur) was removed libc and libm from `/usr/lib`.
Diffstat (limited to 'test')
-rw-r--r-- | test/fiddle/helper.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/fiddle/helper.rb b/test/fiddle/helper.rb index f405b53a53..291fd2f304 100644 --- a/test/fiddle/helper.rb +++ b/test/fiddle/helper.rb @@ -55,8 +55,7 @@ when /mingw/, /mswin/ crtname = RbConfig::CONFIG["RUBY_SO_NAME"][/msvc\w+/] || 'ucrtbase' libc_so = libm_so = "#{crtname}.dll" when /darwin/ - libc_so = "/usr/lib/libc.dylib" - libm_so = "/usr/lib/libm.dylib" + libc_so = libm_so = "/usr/lib/libSystem.dylib" when /kfreebsd/ libc_so = "/lib/libc.so.0.1" libm_so = "/lib/libm.so.1" |