passing --with-X-dir to bundled extensions while building 1.8.0

S

Steven Lumos

I can't seem to find a "good" way to do this.

What I would *like* to have is a way to specify them to the top-level
configure script. But ext/extmk.rb isn't set up to be able to handle
extra switches. Since it load()s the ext/*/extconf.rb files directly,
there doesn't seem to be any other way.

I can run the extconf.rb files by hand, but then of course the
extensions are installed to site_ruby.

Steve
 
S

Steven Lumos

I said:
What I would *like* to have is a way to specify them to the top-level
configure script.

And of course there is one, and it's obvious. If I had just thought
to blindly try it instead of thinking about it first... If you say
--with-X-dir=something to configure, that goes into
CONFIG["configure_args"], which mkmf looks at.

Steve
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top