No such thing as a small change | |
PerlMonks |
Re: Passing compilation options through to cpan/cpanmby syphilis (Archbishop) |
on Jun 12, 2019 at 12:59 UTC ( [id://11101281]=note: print w/replies, xml ) | Need Help?? |
Hi, I think that cpanm's "--configure-args" capability might be helpful to you here. Check the cpanm documentation. I rarely use any of the cpan* modules, but if you (alternatively) wanted to build modules manually, you could look at the ExtUtils::MakeMaker documentation for (eg) modifying CCFLAGS. One thing that I've successfully used in manual builds is to modify the "CC" setting, so you might find that something like the following works: If that works, I'd probably just rebuild perl with the -Dcc="cc -F /Library/Frameworks" argument. Cheers, Rob
In Section
Seekers of Perl Wisdom
|
|