diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | enc/depend | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Mon Feb 20 23:38:35 2012 NAKAMURA Usaku <usa@ruby-lang.org> + + * enc/depend: ignore mktable.c because it's not encoding library. + [ruby-core:42760] [Bug #6049] + Mon Feb 20 21:40:53 2012 Tanaka Akira <akr@fsij.org> * ext/curses/extconf.rb: fold too long lines. diff --git a/enc/depend b/enc/depend index 8e930d5053..fb6bb57de5 100644 --- a/enc/depend +++ b/enc/depend @@ -5,7 +5,7 @@ % dldflags = $2 % enable_shared = CONFIG['ENABLE_SHARED'] == 'yes' % deffile = (true if /\$\(DEFFILE\)/ =~ CONFIG["LINK_SO"]) -% encs = Dir.open($srcdir) {|d| d.grep(/.+\.c\z/)} - BUILTIN_ENCS +% encs = Dir.open($srcdir) {|d| d.grep(/.+\.c\z/)} - BUILTIN_ENCS - ["mktable.c"] % encs.each {|e| e.chomp!(".c")} % encs.reject! {|e| !ENC_PATTERNS.any? {|p| File.fnmatch?(p, e)}} if !ENC_PATTERNS.empty? % encs.reject! {|e| NOENC_PATTERNS.any? {|p| File.fnmatch?(p, e)}} |