I'm trying to add an include line to the build options, but somewhere 
it disappears in the build process.

use Inline (
                CPP => Config => 
                NAME => "CAD::DXF::Dime",
                INC => '-I/home/ewilhelm/.dime/include/',
                ...

The Makefile.PL ends up like so:
        'INC' => '-I/home/ewilhelm/tmp/'

Where ~/tmp/ is my current directory when I'm running:
        perl -e 'use CAD::DXF::Dime'

I've discovered that Inline::CPP passes this option to Inline::C and 
that Inline::C does the following:
        $o->add_string($o->{ILSM}{MAKEFILE}, $key, $value, '');

where $key = INC, and $value = '-I/home/ewilhelm/tmp/', but I can't 
find where this turns into Makefile.PL

Where is this value getting lost?

Thanks,
Eric
-- 
"Everything goes wrong all at once."
                --Quantized Revision of Murphy's Law

Reply via email to