André Hentschel : winemaker: Warn on include path starting with drive letter.
Alexandre Julliard
julliard at winehq.org
Wed Jun 23 10:57:05 CDT 2010
Module: wine
Branch: master
Commit: 02efd5a7c0092fa48c0ce49c0e7352ec33fc1c7f
URL: http://source.winehq.org/git/wine.git/?a=commit;h=02efd5a7c0092fa48c0ce49c0e7352ec33fc1c7f
Author: André Hentschel <nerv at dawncrow.de>
Date: Tue Jun 22 18:01:13 2010 +0200
winemaker: Warn on include path starting with drive letter.
---
tools/winemaker | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/tools/winemaker b/tools/winemaker
index 78034fa..0e34245 100755
--- a/tools/winemaker
+++ b/tools/winemaker
@@ -670,7 +670,11 @@ sub source_scan_project_file($$$)
# Additional Include Directories
$sfilet=$1;
$sfilet=~s/\\/\//g;
- push @{@$project_settings[$T_INCLUDE_PATH]},"-I".$sfilet." ";
+ if ($sfilet=~/^\w:/) {
+ print STDERR "warning: Can't fix path $sfilet\n"
+ } else {
+ push @{@$project_settings[$T_INCLUDE_PATH]},"-I".$sfilet." ";
+ }
} elsif (/^U\s*\"(.*)\"/) {
# Undefines a previously defined symbol
$prj_target_cflags.="-U".$1." ";
More information about the wine-cvs
mailing list