lutter/ruby-augeas — Issue #2: Rakefile not honoring env variables
Author: stahnma
Created: 2011-12-29 20:29:14+00:00
State: open

If you export CFLAGS and other env variables they are not passed via calling "rake build" to the 'sh "make"' line. This is problematic if you use libxml2 rather than libxml and want to add CLFAGS -I/usr/lib/libxml2. I solved this by recompiling augeas with a patched augeas.pc file and editing CFLAGS there. That seems like a bad solution to this problem.

It would be much nicer if ENV variables just were passed from Rake, to Make.