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 New Issue