aboutsummaryrefslogtreecommitdiffstats
path: root/win32/Makefile.sub
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-03-07 02:06:11 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-03-07 02:06:11 +0000
commit6268830ba87bf80852f9a30d4cff7ad250c379dd (patch)
treed72b0baa67a252b252f559bc6b4983db1c8968c7 /win32/Makefile.sub
parente9f3a59e85afaf6894cf63bde12d146818715d8a (diff)
downloadruby-6268830ba87bf80852f9a30d4cff7ad250c379dd.tar.gz
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
Diffstat (limited to 'win32/Makefile.sub')
-rw-r--r--win32/Makefile.sub4
1 files changed, 4 insertions, 0 deletions
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) \