Commit 06f49284 authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

winemaker: Be less picky when detecting the target type.

parent 289ca979
...@@ -589,16 +589,16 @@ sub source_scan_project_file($$$) ...@@ -589,16 +589,16 @@ sub source_scan_project_file($$$)
#print $prj_name; #print $prj_name;
next; next;
} elsif (/^# TARGTYPE/) { } elsif (/^# TARGTYPE/) {
if (/[[:space:]]0x0101$/) { if (/[[:space:]]0+x0*101$/) {
# Application # Application
$prj_target_type=$TT_GUIEXE; $prj_target_type=$TT_GUIEXE;
}elsif (/[[:space:]]0x0102$/) { }elsif (/[[:space:]]0+x0*102$/) {
# Dynamic-Link Library # Dynamic-Link Library
$prj_target_type=$TT_DLL; $prj_target_type=$TT_DLL;
}elsif (/[[:space:]]0x0103$/) { }elsif (/[[:space:]]0+x0*103$/) {
# Console Application # Console Application
$prj_target_type=$TT_CUIEXE; $prj_target_type=$TT_CUIEXE;
}elsif (/[[:space:]]0x0104$/) { }elsif (/[[:space:]]0+x0*104$/) {
# Static Library # Static Library
} }
next; next;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment