in reply to Passing compilation options through to cpan/cpanm

Not sure about cpan; for cpanm there is --configure-args (experimental), so maybe try:

cpanm --configure-args="CCFLAGS='-F /Library/Frameworks'"

  • Comment on Re: Passing compilation options through to cpan/cpanm