ruby-changes:62864
From: Hiroshi <ko1@a...>
Date: Tue, 8 Sep 2020 19:41:15 +0900 (JST)
Subject: [ruby-changes:62864] 0168094da2 (master): Use libSystem.dylib instead of libm.dylib and libc.dylib
https://git.ruby-lang.org/ruby.git/commit/?id=0168094da2 From 0168094da28c146062db22e69cbd9316418310f9 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA <hsbt@r...> Date: Tue, 8 Sep 2020 19:35:15 +0900 Subject: Use libSystem.dylib instead of libm.dylib and libc.dylib Because macOS 11.0(Big Sur) was removed libc and libm from `/usr/lib`. diff --git a/test/fiddle/helper.rb b/test/fiddle/helper.rb index f405b53..291fd2f 100644 --- a/test/fiddle/helper.rb +++ b/test/fiddle/helper.rb @@ -55,8 +55,7 @@ when /mingw/, /mswin/ https://github.com/ruby/ruby/blob/trunk/test/fiddle/helper.rb#L55 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" -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/