Make the test script tag parser a bit more robust.

Check for the .exe extension on mingw32 builds.
This commit is contained in:
Dan Fandrich 2007-01-18 20:32:46 +00:00
parent 3bae748256
commit 6da70628c6
2 changed files with 4 additions and 1 deletions

View File

@ -64,7 +64,7 @@ sub getpart {
$inside++;
}
elsif((1 ==$inside) && ($_ =~ /^ *\<$part[ \>]/)) {
if($_ =~ /$part .*base64=/) {
if($_ =~ /$part [^>]*base64=/) {
# attempt to detect base64 encoded parts
$base64=1;
}

View File

@ -133,6 +133,9 @@ if ($^O eq 'MSWin32' || $targetos) {
$binext = '.exe';
$libext = '.lib';
}
elsif ($targetos =~ /mingw32/) {
$binext = '.exe';
}
elsif ($targetos =~ /netware/) {
$configurebuild = 0;
$binext = '.nlm';