On Apr 12, 5:21=A0pm, Alex Young <a... / blackkettle.org> wrote:
> I am delving into the wonder that is mkmf.rb. =A0I'm trying to tell
> extconf.rb that I want to build an extension into a static library, but
> I can't see how to tell it to generate the static target in the
> Makefile. Has anyone else tried this?

So you want to statically link against the Ruby library?

In that way it will not depend on the libruby shared library?

If that is the case, then --enable-static option that you can supply
your extconf.rb will already do that for you.

mkmf will handle that automatically for you.

HTH,
--
Luis Lavena