From: has Date: 2007-03-08T00:40:05+09:00 Subject: mkmf and environment variables 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.sourceforge.net http://rb-appscript.rubyforge.org http://appscript.sourceforge.net/objc-appscript.html