зеркало из https://github.com/github/ruby.git
* ext/extmk.rb: strip current directory prefix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
fdd16eea4f
Коммит
f8b2f4e05d
|
@ -1,4 +1,6 @@
|
|||
Wed Dec 29 20:31:19 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
Wed Dec 29 20:37:43 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* ext/extmk.rb: strip current directory prefix.
|
||||
|
||||
* enc/depend (clean): remove name2ctype.h when out-of-place build.
|
||||
|
||||
|
|
|
@ -415,6 +415,7 @@ cond = proc {|ext, *|
|
|||
withes.call(cond1) or !withouts.call(cond1)
|
||||
}
|
||||
($extension || %w[*]).each do |e|
|
||||
e = e.sub(/\A(?:\.\/)+/, '')
|
||||
exts |= Dir.glob("#{ext_prefix}/#{e}/**/extconf.rb").collect {|d|
|
||||
d = File.dirname(d)
|
||||
d.slice!(0, ext_prefix.length + 1)
|
||||
|
|
Загрузка…
Ссылка в новой задаче