ruby-changes:38897
From: mame <ko1@a...>
Date: Sat, 20 Jun 2015 04:03:09 +0900 (JST)
Subject: [ruby-changes:38897] mame:r50978 (trunk): * enc/make_encmake.rb: the list of encoding extension libraries must
mame 2015-06-20 04:02:45 +0900 (Sat, 20 Jun 2015) New Revision: 50978 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=50978 Log: * enc/make_encmake.rb: the list of encoding extension libraries must not include encinit.c itself. It caused "undefined reference to Init_encinit". Modified files: trunk/ChangeLog trunk/enc/make_encmake.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 50977) +++ ChangeLog (revision 50978) @@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Sat Jun 20 03:56:58 2015 Yusuke Endoh <mame@r...> + + * enc/make_encmake.rb: the list of encoding extension libraries must + not include encinit.c itself. It caused "undefined reference to + Init_encinit". + Sat Jun 20 02:03:53 2015 Naohisa Goto <ngotogenome@g...> * process.c (rb_execarg_parent_start1): new macro ALWAYS_NEED_ENVP Index: enc/make_encmake.rb =================================================================== --- enc/make_encmake.rb (revision 50977) +++ enc/make_encmake.rb (revision 50978) @@ -51,7 +51,7 @@ end https://github.com/ruby/ruby/blob/trunk/enc/make_encmake.rb#L51 ALPHANUMERIC_ORDER = proc {|e| e.scan(/(\d+)|(\D+)/).map {|n,a| a||[n.size,n.to_i]}.flatten} def target_encodings - encs = Dir.open($srcdir) {|d| d.grep(/.+\.c\z/)} - BUILTIN_ENCS - ["mktable.c"] + encs = Dir.open($srcdir) {|d| d.grep(/.+\.c\z/)} - BUILTIN_ENCS - ["mktable.c", "encinit.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)}} -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/