Forum: Ruby mkmf and environment variables

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.
6bdc6b64f46bbb6dd6e84b5ba68385fc?d=identicon&s=25 has (Guest)
on 2007-03-07 16:40
(Received via mailing list)
Hi all,

I need to set an environment variable before building a Ruby C


For simplicity and robustness I'd rather this happened automatically
when the Makefile was run. Is there some way for by extconf.rb file to
tell mkmf to add the above lines to the Makefile when generating it?

Many thanks,

This topic is locked and can not be replied to.