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

load.c: defer static linked ini

* load.c (register_init_ext, ruby_init_ext): defer running the
  registered initialization function until required, not to enable
  extensions which have global effects just by loading, e.g.,
  mathn/complex and mathn/rational.  fix `make test` with
  --with-static-linked-ext.

missing log at r48699t [ci skip]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2014-12-03 14:39:46 +00:00
parent aacc35e144
commit 9a12b5ae94

View file

@ -5,6 +5,12 @@ Wed Dec 3 17:13:24 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
Wed Dec 3 16:47:35 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
* load.c (register_init_ext, ruby_init_ext): defer running the
registered initialization function until required, not to enable
extensions which have global effects just by loading, e.g.,
mathn/complex and mathn/rational. fix `make test` with
--with-static-linked-ext.
* enc/encinit.c.erb (Init_enc): initialize encdb and transdb
directly.