diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-04-13 18:00:25 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-04-13 18:00:25 +0000 |
commit | 34f5700a0947243198dea5461b80fa8be5ba19ea (patch) | |
tree | e476d9ff42f0ca31d4227f68db922ce7ecc1c300 /lib/mkmf.rb | |
parent | 34b706ff0ac53c2c4322f113fe0ad464a7b302dd (diff) |
* lib/mkmf.rb (MakeMakefile#create_makefile): remove {$(VPATH)} other
than nmke.
* ext/ripper/depend: use VPATH expecting removed by above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/mkmf.rb')
-rw-r--r-- | lib/mkmf.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mkmf.rb b/lib/mkmf.rb index fccef4b5ec..672b97b7ec 100644 --- a/lib/mkmf.rb +++ b/lib/mkmf.rb @@ -1822,7 +1822,6 @@ PATH_SEPARATOR = #{CONFIG['PATH_SEPARATOR']} VPATH = #{vpath.join(CONFIG['PATH_SEPARATOR'])} } if $extmk - mk << "disthdrdir = #{$nmake ? '{$(VPATH)}' : '$(top_srcdir)/'}\n" mk << "RUBYLIB =\n""RUBYOPT = -\n" end prefix = mkintpath(CONFIG["prefix"]) @@ -2004,6 +2003,7 @@ RULES end depend.each_line do |line| 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 |