mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
c0fb9a190c
Builds the shared library FROM the existing static archive via -Wl,--whole-archive, leaving the static-build pipeline (and the test infrastructure that depends on it) untouched. Produces in build/host/lib/: libmruby.so SONAME=libmruby.so.<MAJOR>.<MINOR> libmruby.so.<MAJOR>.<MINOR> symlink for runtime DT_NEEDED resolution libmruby.map linker version script: MRUBY_<RELEASE_NO> libmruby_core.so + symlink (similarly) Symbol versioning ties to MRUBY_RELEASE_NO (e.g. MRUBY_40000 for 4.0.0). mruby has historically had ABI breaks at TEENY granularity, so the version tag uses the full release number rather than just MAJOR.MINOR. Closes #6239. Co-authored-by: Claude <noreply@anthropic.com>