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

winemaker: Ignore files not found by the search function.

parent 61622fe8
......@@ -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) {
......
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