diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-12-11 02:30:21 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-12-11 02:30:21 +0000 |
commit | 4ed018d947189f5f76f88be3fb6b28005b60fe2b (patch) | |
tree | 6d569102ac65fd2bf0ab441143139551fe176f93 /lib/mkmf.rb | |
parent | aaf309972eca59c5e103f5fe9747e22076ec39d9 (diff) | |
download | ruby-4ed018d947189f5f76f88be3fb6b28005b60fe2b.tar.gz |
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
Diffstat (limited to 'lib/mkmf.rb')
-rw-r--r-- | lib/mkmf.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/mkmf.rb b/lib/mkmf.rb index 7e40c2d193..8812d574f8 100644 --- a/lib/mkmf.rb +++ b/lib/mkmf.rb @@ -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 |