mirror of
git://source.winehq.org/git/wine.git
synced 2024-08-31 12:14:11 +00:00
winemaker: Canonicalize directory name if used as target name.
This commit is contained in:
parent
0c53d2ef0d
commit
6a5be43650
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue