ruby-changes:45360
From: nobu <ko1@a...>
Date: Fri, 27 Jan 2017 11:55:12 +0900 (JST)
Subject: [ruby-changes:45360] nobu:r57433 (trunk): configure-ext.mk.tmpl: fix ext build
nobu 2017-01-27 11:55:02 +0900 (Fri, 27 Jan 2017) New Revision: 57433 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=57433 Log: configure-ext.mk.tmpl: fix ext build * template/configure-ext.mk.tmpl: fixed inverted names of target and directory, and chomp the last slash. Modified files: trunk/template/configure-ext.mk.tmpl Index: template/configure-ext.mk.tmpl =================================================================== --- template/configure-ext.mk.tmpl (revision 57432) +++ template/configure-ext.mk.tmpl (revision 57433) @@ -14,8 +14,8 @@ opt = OptionParser.new do |o| https://github.com/ruby/ruby/blob/trunk/template/configure-ext.mk.tmpl#L14 end srcdir ||= File.dirname(File.dirname(__FILE__)) exts = {} -[["ext", "exts"], ["gems", "gems"]].each do |t, dir| - exts[t] = Dir.glob("#{srcdir}/#{dir}/*/").map {|n| n[(srcdir.size+1)..-1]} +[["exts", "ext"], ["gems", "gems"]].each do |t, dir| + exts[t] = Dir.glob("#{srcdir}/#{dir}/*/").map {|n| n[(srcdir.size+1)..-2]} end %> MINIRUBY = <%=miniruby%> -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/