Skip to content

Commit

Permalink
* ext/extmk.rb: strip current directory prefix.
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
nobu committed Dec 29, 2010
1 parent fdd16ee commit f8b2f4e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ChangeLog
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
Wed Dec 29 20:31:19 2010 Nobuyoshi Nakada <[email protected]>
Wed Dec 29 20:37:43 2010 Nobuyoshi Nakada <[email protected]>

* ext/extmk.rb: strip current directory prefix.

* enc/depend (clean): remove name2ctype.h when out-of-place build.

Expand Down
1 change: 1 addition & 0 deletions ext/extmk.rb
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,7 @@ def $mflags.defined?(var)
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)
Expand Down

0 comments on commit f8b2f4e

Please sign in to comment.