Make the test script tag parser a bit more robust.
Check for the .exe extension on mingw32 builds.
This commit is contained in:
Родитель
3bae748256
Коммит
6da70628c6
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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';
|
||||
|
|
Загрузка…
Ссылка в новой задаче