X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=ef1680fe7c63a80f340181327cc403de773f6d44;hb=42a3fae5edae1ae678dd60f2a19e8ed1dd8fc968;hp=6cc45075a7c08e49dd0e308ce46c09cb41464778;hpb=f571446597dee01cef611096264a928060f60a66;p=gitmo%2FClass-MOP.git diff --git a/Makefile.PL b/Makefile.PL index 6cc4507..ef1680f 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -10,7 +10,8 @@ perl_version '5.008001'; all_from 'lib/Class/MOP.pm'; license 'perl'; -my $ccflags = ' -I.'; +require Config; +my $ccflags = ( $Config::Config{ccflags} || '' ) . ' -I.'; $ccflags .= ' -Wall' if -d '.svn' || -d '.git' || $ENV{MAINTAINER_MODE}; requires 'Carp';