winemaker: Canonicalize directory name if used as target name.

This commit is contained in:
André Hentschel 2009-04-23 20:41:32 +02:00 committed by Alexandre Julliard
parent 0c53d2ef0d
commit 6a5be43650
1 changed files with 2 additions and 2 deletions

View File

@ -1333,9 +1333,9 @@ sub source_scan_directory($$$$)
}
$name =~ s+(/|\.[^.]*)$++;
if ($opt_target_type == $TT_DLL) {
$name = "$name.dll";
$name = canonize($name).".dll";
} else {
$name = "$name.exe";
$name = canonize($name).".exe";
}
$targets{$name}=1;
}