summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-02-08 02:46:22 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-02-08 02:46:22 +0000
commit3d1c86a26f0c96a9c1d0247b968aa96e6f3c30bb (patch)
tree07e61a59dba44035dfda236733c2002bfc2cbf83 /lib
parente6f8382a766a4e27e008d8cf753c6589a3eb6f85 (diff)
Removed moving toplevel header since r12501
Moving public headers was 12-years ago, no depend files would expect ruby.h in the top source directory now. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/mkmf.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/mkmf.rb b/lib/mkmf.rb
index 0d9d3d9f38..cc22cf6151 100644
--- a/lib/mkmf.rb
+++ b/lib/mkmf.rb
@@ -2115,7 +2115,6 @@ RULES
line.gsub!(/\.o\b/, ".#{$OBJEXT}")
line.gsub!(/\{\$\(VPATH\)\}/, "") unless $nmake
line.gsub!(/\$\((?:hdr|top)dir\)\/config.h/, $config_h)
- line.gsub!(%r"\$\(hdrdir\)/(?!ruby(?![^:;/\s]))(?=[-\w]+\.h)", '\&ruby/')
if $nmake && /\A\s*\$\(RM|COPY\)/ =~ line
line.gsub!(%r"[-\w\./]{2,}"){$&.tr("/", "\\")}
line.gsub!(/(\$\((?!RM|COPY)[^:)]+)(?=\))/, '\1:/=\\')