From: George Greer Date: Tue, 15 Feb 2011 17:34:10 +0000 (-0500) Subject: ExtUtils-CBuilder is causing some collateral smoke; fix variable name. X-Git-Tag: accepted/trunk/20130322.191538~5542 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fc2292f72612e5bcc77ddb212e9b651c991def44;p=platform%2Fupstream%2Fperl.git ExtUtils-CBuilder is causing some collateral smoke; fix variable name. Since the variable was empty, the include of ::Platform::MSVC failed and it fell back to ::Base which tried to use "-o" as a parameter. --- diff --git a/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder.pm b/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder.pm index ba0f768..1a76d3a 100644 --- a/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder.pm +++ b/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder.pm @@ -21,7 +21,7 @@ my $load = sub { { my @package = split /::/, __PACKAGE__; - my $os_type = os_type(); + my $ostype = os_type(); if (grep {-e File::Spec->catfile($_, @package, 'Platform', $^O) . '.pm'} @INC) { $load->(__PACKAGE__ . "::Platform::$^O");