=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: winemaker: Be less picky when detecting the target type.

Alexandre Julliard julliard at winehq.org
Mon Nov 21 11:10:05 CST 2011


Module: wine
Branch: master
Commit: 06f4928474891b30cf838c98681d3a37d00006fa
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=06f4928474891b30cf838c98681d3a37d00006fa

Author: André Hentschel <nerv at dawncrow.de>
Date:   Sat Nov 19 19:42:34 2011 +0100

winemaker: Be less picky when detecting the target type.

---

 tools/winemaker |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/tools/winemaker b/tools/winemaker
index 1e39adb..e783ce7 100755
--- a/tools/winemaker
+++ b/tools/winemaker
@@ -589,16 +589,16 @@ sub source_scan_project_file($$$)
                 #print $prj_name;
                 next;
             } elsif (/^# TARGTYPE/) {
-                if (/[[:space:]]0x0101$/) {
+                if (/[[:space:]]0+x0*101$/) {
                     # Application
                     $prj_target_type=$TT_GUIEXE;
-                }elsif (/[[:space:]]0x0102$/) {
+                }elsif (/[[:space:]]0+x0*102$/) {
                     # Dynamic-Link Library
                     $prj_target_type=$TT_DLL;
-                }elsif (/[[:space:]]0x0103$/) {
+                }elsif (/[[:space:]]0+x0*103$/) {
                     # Console Application
                     $prj_target_type=$TT_CUIEXE;
-                }elsif (/[[:space:]]0x0104$/) {
+                }elsif (/[[:space:]]0+x0*104$/) {
                     # Static Library
                 }
                 next;




More information about the wine-cvs mailing list