1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

extconf.h dependency

* lib/mkmf.rb (MakeMakefile#depend_rules): deal with extconf.h
  dependency.  just remove it and bail out right now.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2012-05-01 06:52:25 +00:00
parent e6bd1496a8
commit 1735969296

View file

@ -1897,7 +1897,14 @@ 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",
"$(RUBY_EXTCONF_H): $(srcdir)/extconf.rb\n",
"$(RUBY_EXTCONF_H):\n",
"\t$(Q)$(RM) $(@)\n",
"\t$(ECHO) $@ is outdated, re-configure\n",
"\t@exit 1\n")
end
depout.flatten!
depout
end