From db3472d84c0e348fd0774a122281b0d7e5bf6352 Mon Sep 17 00:00:00 2001 From: Peter Zhu Date: Fri, 12 Jul 2024 11:38:38 -0400 Subject: [PATCH] Set `BUILDING_SHARED_GC` when building shared GC --- common.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common.mk b/common.mk index 118e60d061..b387c47a4a 100644 --- a/common.mk +++ b/common.mk @@ -1915,7 +1915,7 @@ shared-gc: probes.h exit 1; \ else \ echo generating $(shared_gc_dir)librubygc.$(SHARED_GC).$(SOEXT); \ - $(LDSHARED) -I$(srcdir)/include -I$(srcdir) -I$(arch_hdrdir) -I. $(XDLDFLAGS) $(cflags) -fPIC -o $(shared_gc_dir)librubygc.$(SHARED_GC).$(SOEXT) $(srcdir)/gc/$(SHARED_GC).c; \ + $(LDSHARED) -I$(srcdir)/include -I$(srcdir) -I$(arch_hdrdir) $(XDLDFLAGS) $(cflags) -DBUILDING_SHARED_GC -fPIC -o $(shared_gc_dir)librubygc.$(SHARED_GC).$(SOEXT) $(srcdir)/gc/$(SHARED_GC).c; \ fi help: PHONY