Change external GC to use directory at configure

This commit changes the external GC API to use `--with-shared-gc=DIR` at
configure time with a directory of the external GC and uses
`RUBY_GC_LIBRARY` environment variable to load the external GC at
runtime.
This commit is contained in:
Peter Zhu 2024-07-04 16:15:00 -04:00
parent 8fd2df529b
commit e2ceded2c6
3 changed files with 54 additions and 12 deletions

View file

@ -4751,7 +4751,7 @@ config_summary "target OS" "$target_os"
config_summary "compiler" "$CC"
config_summary "with thread" "$THREAD_MODEL"
config_summary "with coroutine" "$coroutine_type"
config_summary "with shared GC" "$with_shared_gc"
config_summary "with shared GC" "$shared_gc_summary"
config_summary "enable shared libs" "$ENABLE_SHARED"
config_summary "dynamic library ext" "$DLEXT"
config_summary "CFLAGS" "$cflags"