diff --git a/Makefile.PL b/Makefile.PL index 42fca50..eaf47e0 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -16,7 +16,7 @@ use Config qw(%Config); my %cfg; @cfg{qw(cc ccflags ldflags)} = @Config{qw(cc ccflags ldflags)}; for my $arg (@ARGV) { - if ( /^(CC|CCFLAGS|LDFLAGS)=(.*)/i ) { + if ( $arg =~ /^(CC|CCFLAGS|LDFLAGS)=(.*)/i ) { $cfg{lc($1)} = $2; } }