Nobuyoshi Nakada <nobu / ruby-lang.org> wrote:
> load.c seems necessary, please commit it only.
> Others seem unnecessary.

You're right; it took me a while of testing to get it :x
r45232

Now, how to run the test suite using static-linked-ext...

How about introducing a new internal API:

	rb_require_hook_register("foo", Init_foo);

So any calls to `require "foo"' call Init_foo lazily?
It would make it easier to have consistent code between
static/dynamic-ext builds of Ruby.