diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-09-06 15:15:47 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-09-07 14:33:25 +0900 |
commit | 1f91dcdab3b530dde93fa29fba8bf60683cd8056 (patch) | |
tree | 52e2b50c31ff9e00d42259b7d7991f5a764e780b /win32 | |
parent | cac0dcfbffe630a0c763392358ca745007ae854d (diff) |
Define BOOTSTRAPRUBY from HAVE_BASERUBY
Diffstat (limited to 'win32')
-rw-r--r-- | win32/Makefile.sub | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/win32/Makefile.sub b/win32/Makefile.sub index b3d0a2f76e..e4b9a3cac8 100644 --- a/win32/Makefile.sub +++ b/win32/Makefile.sub @@ -363,13 +363,15 @@ RUNRUBY = .\$(PROGRAM) -I$(srcdir)/lib -I"$(EXTOUT)/$(arch)" -I. !endif MINIRUBY = $(MINIRUBY) $(MINIRUBYOPT) RUNRUBY = $(RUNRUBY) "$(tooldir)/runruby.rb" --extout="$(EXTOUT)" $(RUNRUBYOPT) -- $(RUN_OPTS) +yes_baseruby = $(HAVE_BASERUBY:no=) +no_baseruby = $(HAVE_BASERUBY:yes=) !if "$(CROSS_COMPILING)" == "yes" XRUBY = $(MINIRUBY) BOOTSTRAPRUBY = $(BASERUBY) -BOOTSTRAPRUBY_COMMAND = $(BOOTSTRAPRUBY) -r./$(arch)-fake +BOOTSTRAPRUBY_OPT = -r./$(arch)-fake !else BOOTSTRAPRUBY = $(MINIRUBY) -BOOTSTRAPRUBY_COMMAND = $(BOOTSTRAPRUBY) +BOOTSTRAPRUBY_OPT = XRUBY = $(RUNRUBY) !endif BTESTRUBY = $(MINIRUBY) -r./$(arch)-fake |