mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
goruby build was broken
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
466c78d5f2
commit
9fe9ffb842
3 changed files with 7 additions and 1 deletions
|
@ -209,6 +209,7 @@ INSTALLED_LIST= .installed.list
|
|||
NEWLINE_C = enc/trans/newline.c
|
||||
MINIPRELUDE_C = miniprelude.c
|
||||
PRELUDE_C = prelude.c
|
||||
GOLF_PRELUDE_C= golf_prelude.c
|
||||
RBCONFIG = .rbconfig.time
|
||||
|
||||
MAINSRC = $(MAINOBJ:@OBJEXT@=c)
|
||||
|
|
|
@ -1012,7 +1012,7 @@ $(PRELUDE_C): $(COMPILE_PRELUDE) \
|
|||
$(Q) $(BASERUBY) $(srcdir)/tool/generic_erb.rb -I$(srcdir) -c -o $@ \
|
||||
$(srcdir)/template/prelude.c.tmpl $(PRELUDE_SCRIPTS)
|
||||
|
||||
{$(VPATH)}golf_prelude.c: $(COMPILE_PRELUDE) {$(srcdir)}golf_prelude.rb
|
||||
$(GOLF_PRELUDE_C): $(COMPILE_PRELUDE) {$(srcdir)}golf_prelude.rb
|
||||
$(ECHO) generating $@
|
||||
$(Q) $(BASERUBY) $(srcdir)/tool/generic_erb.rb -I$(srcdir) -c -o $@ \
|
||||
$(srcdir)/template/prelude.c.tmpl golf_prelude.rb
|
||||
|
|
|
@ -505,6 +505,11 @@ PRELUDE_C = $(srcdir)/prelude.c
|
|||
!else
|
||||
PRELUDE_C = prelude.c
|
||||
!endif
|
||||
!if !exist(golf_prelude.c) && exist($(srcdir)/golf_prelude.c)
|
||||
GOLF_PRELUDE_C = $(srcdir)/golf_prelude.c
|
||||
!else
|
||||
GOLF_PRELUDE_C = golf_prelude.c
|
||||
!endif
|
||||
RBCONFIG = ./.rbconfig.time
|
||||
|
||||
!include $(srcdir)/common.mk
|
||||
|
|
Loading…
Reference in a new issue