vondruch / rpms / ruby

Forked from rpms/ruby 2 years ago
Clone
4c12d4
From 07eb5f5e775dec01a92a8b13910eaced9e8ee0cd Mon Sep 17 00:00:00 2001
c0513d
From: =?UTF-8?q?V=C3=ADt=20Ondruch?= <vondruch@redhat.com>
c0513d
Date: Tue, 2 Dec 2014 10:56:58 +0100
c0513d
Subject: [PATCH] Generate preludes using miniruby.
c0513d
c0513d
---
c0513d
 common.mk | 4 ++--
c0513d
 1 file changed, 2 insertions(+), 2 deletions(-)
c0513d
c0513d
diff --git a/common.mk b/common.mk
4c12d4
index 168dc52..20c218a 100644
c0513d
--- a/common.mk
c0513d
+++ b/common.mk
4c12d4
@@ -839,9 +839,9 @@ $(MINIPRELUDE_C): $(COMPILE_PRELUDE)
c0513d
 $(PRELUDE_C): $(COMPILE_PRELUDE) \
c0513d
 	   {$(srcdir)}lib/rubygems/defaults.rb \
c0513d
 	   {$(srcdir)}lib/rubygems/core_ext/kernel_gem.rb \
c0513d
-	   $(PRELUDE_SCRIPTS) $(LIB_SRCS)
c0513d
+	   $(PRELUDE_SCRIPTS) $(PREP) $(LIB_SRCS)
c0513d
 	$(ECHO) generating $@
c0513d
-	$(Q) $(BASERUBY) $(srcdir)/tool/generic_erb.rb -I$(srcdir) -c -o $@ \
c0513d
+	$(Q) $(MINIRUBY) $(srcdir)/tool/generic_erb.rb -I$(srcdir) -c -o $@ \
c0513d
 		$(srcdir)/template/prelude.c.tmpl $(PRELUDE_SCRIPTS)
c0513d
 
c0513d
 {$(VPATH)}golf_prelude.c: $(COMPILE_PRELUDE) {$(srcdir)}golf_prelude.rb
c0513d
-- 
4c12d4
2.6.3
c0513d