Forum: Ruby Shiping headers with a ruby extension

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
4913bcb685792f601ae9813b4713abb9?d=identicon&s=25 Detlef Reichl (Guest)
on 2007-04-28 15:34
(Received via mailing list)

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 << ["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.

This topic is locked and can not be replied to.