A "good" Makefile.PL accepts its configuration parameters not only from the command line but also throught the environment, just to make it possible to easily pass parameters across multiple process invocations. Look in the Makefile.PL of DBD::mysql to see whether it does that.
You need to have the MySQL client libraries and headers installed anyway if you're installing DBD::mysql.
In reply to Re: Passing compilation options through to cpanm
by Corion
in thread Passing compilation options through to cpanm
by nysus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |