Shiping headers with a ruby extension

D

Detlef Reichl

Hi,

i have written a ruby extension, that should be the base for other
extensions. So i have to ship some of its header files.

I use setup.rb in the main directory and extconf.rb (mkmf) in the
extensions directory.

I came about something like:

$INSTALLFILES ||= []
$INSTALLFILES << ["types.h", "$(RUBYARCHDIR)/$(target_prefix)", "lib"]

included in the extconf.rb but it doesn't work.

I know, that i can do it with a post-install.rb script, but i hope that
there is a better solution.

cheers
detlef
 

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

Forum statistics

Threads
474,241
Messages
2,571,219
Members
47,850
Latest member
StewartTha

Latest Threads

Top