1 package inc::MakeMaker;
9 extends 'Dist::Zilla::Plugin::MakeMaker::Awesome';
11 override _build_MakeFile_PL_template => sub {
16 my $ccflags = MMHelper::ccflags_dyn();
17 $tmpl =~ s/^(WriteMakefile\()/\$WriteMakefileArgs{CCFLAGS} = $ccflags;\n\n$1/m;
19 return $tmpl . "\n\n" . MMHelper::my_package_subs();
22 override _build_WriteMakefile_args => sub {
33 override test => sub {
36 local $ENV{PERL5LIB} = join ':',
37 grep {defined} @ENV{ 'PERL5LIB', 'DZIL_TEST_INC' };