[Bug #20004] Revert "[Feature #19422] Enable shared by default on macOS"

This reverts commit 9694445051c4192c8f659529133acab253bd0bc3.

  This change broke our release CI.

  https://github.com/ruby/actions/actions/runs/6599016994/job/17927644579#step:16:44

  Invoking `/Users/runner/work/actions/actions/snapshot-master/ruby -rrubygems /Users/runner/work/actions/actions/snapshot-master/bin/gem --backtrace build lib/bundler/bundler.gemspec` failed with output:
  ----------------------------------------------------------------------
  dyld[42417]: Library not loaded: '/usr/local/lib/libruby.3.3.dylib'
    Referenced from: '/Users/runner/work/actions/actions/snapshot-master/ruby'
    Reason: tried: '/usr/local/lib/libruby.3.3.dylib' (no such file), '/usr/lib/libruby.3.3.dylib' (no such file)
  ----------------------------------------------------------------------
This commit is contained in:
Hiroshi SHIBATA 2023-11-21 20:19:49 +09:00
parent 4de54c9675
commit f100c6477a
No known key found for this signature in database
GPG Key ID: F9CF13417264FAC2

View File

@ -506,10 +506,7 @@ AS_CASE(["$target_os"],
])
rb_cv_binary_elf=no
: ${enable_shared=yes}
],
[darwin*], [
: ${enable_shared=yes}
],
],
[hiuxmpp*], [AC_DEFINE(__HIUX_MPP__)]) # by TOYODA Eizi <toyoda@npd.kishou.go.jp>