aboutsummaryrefslogtreecommitdiffstats
path: root/common.mk
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-11-09 19:28:45 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-11-09 19:28:45 +0900
commitdfaac2b37253ff25ec873c2fbd93abfa7f789248 (patch)
tree6517f137f767bba6811e711462d05c7dc3141c96 /common.mk
parent4dc4b1890499d6a836655957e78908ee891a42ce (diff)
downloadruby-dfaac2b37253ff25ec873c2fbd93abfa7f789248.tar.gz
Embed builtin ruby scripts in miniprelude.c
Instead of reading from the files by the full-path at runtime. As rbinc files need to be included in distributed tarballs, the full-paths at the packaging are unavailable at compilation times.
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/common.mk b/common.mk
index 56eba97f92..6996ae56c5 100644
--- a/common.mk
+++ b/common.mk
@@ -1072,7 +1072,7 @@ vm_call_iseq_optimized.inc: $(srcdir)/tool/mk_call_iseq_optimized.rb
$(MINIPRELUDE_C): $(COMPILE_PRELUDE)
$(ECHO) generating $@
$(Q) $(BASERUBY) $(srcdir)/tool/generic_erb.rb -I$(srcdir) -o $@ \
- $(srcdir)/template/prelude.c.tmpl
+ $(srcdir)/template/prelude.c.tmpl $(BUILTIN_RB_SRCS)
$(PRELUDE_C): $(COMPILE_PRELUDE) \
$(PRELUDE_SCRIPTS)