depend on win32.h on Windows
* lib/mkmf.rb (depend_rules): all objs should depend on win32.h on Windows. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
aaf309972e
commit
4ed018d947
@ -2124,7 +2124,10 @@ RULES
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user