Subject: | config='val=arg' command-line option doesn't work |
config='val=arg' option doesn't work as documented in Module::Build manual.
It's stored in "args" hash (and there visible in dumped config file), but
not used anymore (options from "config" hash from "args" don't override
options from "config" hash).
Therefore when I try e.g. to override "optimize" option by "perl Build.PL
config='optimize=-O0 -g'" for some module (to build some shared object for
debug purposes independently of compiler flags used to build perl itself),
it's still compiled using flags taken from perl's Config.pm.
The patch I've made maybe is not very nice, but works.
It's available in PLD CVS at:
http://cvs.pld-linux.org/SOURCES/perl-Module-Build-config.patch