ruby/gc/extconf_base.rb
Peter Zhu ce1ad1b816 Standardize on the name "modular GC"
We have name fragmentation for this feature, including "shared GC",
"modular GC", and "external GC". This commit standardizes the feature
name to "modular GC" and the implementation to "GC library".
2024-12-05 10:33:26 -05:00

14 lines
245 B
Ruby

# frozen_string_literal: true
require "mkmf"
srcdir = File.join(__dir__, "..")
$INCFLAGS << " -I#{srcdir}"
$CPPFLAGS << " -DBUILDING_MODULAR_GC"
append_cflags("-fPIC")
def create_gc_makefile(name)
create_makefile("librubygc.#{name}")
end