diff --git a/src/tools/msvc/build.pl b/src/tools/msvc/build.pl index c947bbe318e36a1f7ecf6c3dbd15c17f3e008997..e107d4120a32679c69dd7969af52db9825bbdc4e 100644 --- a/src/tools/msvc/build.pl +++ b/src/tools/msvc/build.pl @@ -39,11 +39,11 @@ my $vcver = Mkvcbuild::mkvcbuild($config); my $bconf = $ENV{CONFIG} || "Release"; my $buildwhat = $ARGV[1] || ""; -if ($ARGV[0] eq 'DEBUG') +if (uc($ARGV[0]) eq 'DEBUG') { $bconf = "Debug"; } -elsif ($ARGV[0] ne "RELEASE") +elsif (uc($ARGV[0]) ne "RELEASE") { $buildwhat = $ARGV[0] || ""; }