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

winemaker: Canonicalize directory name if used as target name.

parent 0c53d2ef
......@@ -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;
}
......
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