summaryrefslogtreecommitdiff
path: root/lib/mkmf.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-05-01 07:15:18 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-05-01 07:15:18 +0000
commit28b7df782088e1e18b53659b0ba0c96a1b8b1c8b (patch)
tree76260bbe6dcc5d06f7a2d474bdfb4e9533957561 /lib/mkmf.rb
parentd7228e5bbae6a81f57f0ba96cbdefa21a9f4a330 (diff)
* revert r35510 and r35511 which caused removing the headers everytime.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/mkmf.rb')
-rw-r--r--lib/mkmf.rb9
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/mkmf.rb b/lib/mkmf.rb
index 4c05ebf8a5..53f647aef1 100644
--- a/lib/mkmf.rb
+++ b/lib/mkmf.rb
@@ -1897,14 +1897,7 @@ RULES
unless suffixes.empty?
depout.unshift(".SUFFIXES: ." + suffixes.uniq.join(" .") + "\n\n")
end
- 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.unshift("$(OBJS): $(RUBY_EXTCONF_H)\n\n") if $extconf_h
depout.flatten!
depout
end