From: Luis Lavena <luislavena@...>
Date: 2010-12-03T05:06:36+09:00
Subject: [ruby-core:33525] Compilation error for ruby_1_9_2 branch (MinGW)
Hello,
Discussed on RubyInstaller group:
http://groups.google.com/group/rubyinstaller/browse_thread/thread/412abfdcb695aecb
ruby_1_9_2 branch fails to build config.rb, which is missing in that
branch, but exist in trunk.
The change is associated with [ruby-core:32709]:
http://redmine.ruby-lang.org/issues/show/3912
AFAIK, there are few remaining commits missing, as there is no
config.rb defined anywhere on trunk or that should be part $(RCFILES).
The following patch corrects the issue to properly depend on
revision.h and win32/resource.rb, as is on trunk
diff --git a/cygwin/GNUmakefile.in b/cygwin/GNUmakefile.in
index 2b6b625..025f460 100644
--- a/cygwin/GNUmakefile.in
+++ b/cygwin/GNUmakefile.in
@@ -41,7 +41,7 @@ $(RUBY_EXP) $(LIBRUBY_SO): $(DLL_BASE_NAME).res.@OBJEXT@
%.res.@OBJEXT@: %.rc
$(WINDRES) --include-dir . --include-dir $(<D) --include-dir
$(srcdir)/win32 $< $@
-$(RCFILES): $(RBCONFIG) config.rb
+$(RCFILES): $(RBCONFIG) $(srcdir)/revision.h $(srcdir)/win32/resource.rb
@$(MINIRUBY) $(srcdir)/win32/resource.rb \
-ruby_name=$(RUBY_INSTALL_NAME) -rubyw_name=$(RUBYW_INSTALL_NAME) \
-so_name=$(DLL_BASE_NAME) \
===
Thank you.
--
Luis Lavena
AREA 17
-
Perfection in design is achieved not when there is nothing more to add,
but rather when there is nothing more to take away.
Antoine de Saint-Exup�ry