1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* enc/make_encmake.rb: the list of encoding extension libraries must

not include encinit.c itself.  It caused "undefined reference to
  Init_encinit".

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50978 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
mame 2015-06-19 19:02:45 +00:00
parent f59356a85a
commit e4fa17a9b9
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
Sat Jun 20 03:56:58 2015 Yusuke Endoh <mame@ruby-lang.org>
* 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@gmail.com>
* process.c (rb_execarg_parent_start1): new macro ALWAYS_NEED_ENVP

View file

@ -51,7 +51,7 @@ end
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)}}