ruby-changes:48988
From: usa <ko1@a...>
Date: Mon, 11 Dec 2017 11:30:26 +0900 (JST)
Subject: [ruby-changes:48988] usa:r61107 (trunk): depend on win32.h on Windows
usa 2017-12-11 11:30:21 +0900 (Mon, 11 Dec 2017) New Revision: 61107 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=61107 Log: depend on win32.h on Windows * lib/mkmf.rb (depend_rules): all objs should depend on win32.h on Windows. Modified files: trunk/lib/mkmf.rb Index: lib/mkmf.rb =================================================================== --- lib/mkmf.rb (revision 61106) +++ lib/mkmf.rb (revision 61107) @@ -2124,7 +2124,10 @@ RULES https://github.com/ruby/ruby/blob/trunk/lib/mkmf.rb#L2124 unless suffixes.empty? depout.unshift(".SUFFIXES: ." + suffixes.uniq.join(" .") + "\n\n") end - depout.unshift("$(OBJS): $(RUBY_EXTCONF_H)\n\n") if $extconf_h + if $extconf_h + depout.unshift("$(OBJS): $(RUBY_EXTCONF_H)\n\n") + depout.unshift("$(OBJS): $(hdrdir)/ruby/win32.h\n\n") if $mswin or $mingw + end depout.flatten! depout end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/