[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

mkmf and environment variables

hengist podd

3/7/2007 3:37:00 PM

Hi all,

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

MACOSX_DEPLOYMENT_TARGET=10.2
export MACOSX_DEPLOYMENT_TARGET

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,

has
--
http://appscript.sourc...
http://rb-appscript.rub...
http://appscript.sourc.../objc-appscript.html