From 6268830ba87bf80852f9a30d4cff7ad250c379dd Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 7 Mar 2015 02:06:11 +0000 Subject: mkconfig.rb: without fake.rb * tool/mkconfig.rb: use arguments instead of built-in constants to work without fake.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- win32/Makefile.sub | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'win32') diff --git a/win32/Makefile.sub b/win32/Makefile.sub index c797270255..ac41e7c5b4 100644 --- a/win32/Makefile.sub +++ b/win32/Makefile.sub @@ -1045,6 +1045,10 @@ clean-enc distclean-enc realclean-enc: @-$(MAKE) -f $(ENC_MK) $(MFLAGS) V=$(V) $(@:-enc=) !endif +!if "$(CROSS_COMPILING)" == "no" +$(RBCONFIG): $(PREP) +!endif + $(RCFILES): $(RBCONFIG) $(srcdir)/revision.h $(srcdir)/win32/resource.rb @$(MINIRUBY) $(srcdir)/win32/resource.rb \ -ruby_name=$(RUBY_INSTALL_NAME) \ -- cgit v1.2.3