summaryrefslogtreecommitdiff
path: root/gc.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <[email protected]>2024-12-20 16:41:58 +0900
committerNobuyoshi Nakada <[email protected]>2024-12-22 22:10:26 +0900
commit2f2530b195008209e1d9e4e9734509d5f956fa49 (patch)
tree4ed449af1caf58a1081ecb15417ee39fb09f251b /gc.c
parent626037e143886bb5d15b3c5ebf1e04fc711407fa (diff)
Allow variables in modular_gc_dir
Such as `$(ruby_version)`, `$(arch)` and so on.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/12428
Diffstat (limited to 'gc.c')
-rw-r--r--gc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gc.c b/gc.c
index 19e65a1f14..67857ed44c 100644
--- a/gc.c
+++ b/gc.c
@@ -707,6 +707,7 @@ typedef struct gc_function_map {
static rb_gc_function_map_t rb_gc_functions;
# define RUBY_GC_LIBRARY "RUBY_GC_LIBRARY"
+# define MODULAR_GC_DIR STRINGIZE(modular_gc_dir)
static void
ruby_modular_gc_init(void)