From 9a12b5ae94357ace093772c59b6b46f7116db517 Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 3 Dec 2014 14:39:46 +0000 Subject: [PATCH] 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 --- ChangeLog | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index 4c764bbb4c..24008a949b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,12 @@ Wed Dec 3 17:13:24 2014 Nobuyoshi Nakada Wed Dec 3 16:47:35 2014 Nobuyoshi Nakada + * 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.