modular-gc-precheck for mswin

This commit is contained in:
Nobuyoshi Nakada 2024-12-20 16:46:57 +09:00
parent 4fb5d746ce
commit e1ff13b146
No known key found for this signature in database
GPG Key ID: 3582D74E1FEE4465
Notes: git 2024-12-22 13:42:56 +00:00

View File

@ -1328,6 +1328,12 @@ $(ruby_pc): $(RBCONFIG)
-output=$@ -mode=$(INSTALL_DATA_MODE) -config=rbconfig.rb \
$(srcdir)/template/ruby.pc.in
modular-gc-precheck:
!if "$(modular_gc_dir)" == ""
@echo You must configure with --with-modular-gc to use modular GC
@exit /b 1
!endif
{$(srcdir)/coroutine/win32}.asm{coroutine/win32}.obj:
$(ECHO) assembling $(<:\=/)
$(Q) $(AS) $(ASFLAGS) $(XCFLAGS) $(CPPFLAGS) $(COUTFLAG)$@ -c $(<:\=/)