winemaker: Ignore files not found by the search function.

oldstable
André Hentschel 2010-06-22 18:01:07 +02:00 committed by Alexandre Julliard
parent 61622fe8d1
commit f4679761b7
1 changed files with 1 additions and 0 deletions

View File

@ -782,6 +782,7 @@ sub source_scan_project_file($$$)
} elsif (/^SOURCE=(.*)$/) {
my @components=split /[\/\\]+/, $1;
$sfilet=search_from($path, \@components);
if (!defined $sfilet) { next; }
if ($sfilet =~ /\.c$/i and $sfilet !~ /\.(dbg|spec)\.c$/) {
push @sources_c,$sfilet;
} elsif ($sfilet =~ /\.(cpp|cxx)$/i) {