winemaker: Remove trailing semicolon from PreprocessorDefinitions.
Signed-off-by: André Hentschel <nerv@dawncrow.de> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
9d40addbeb
commit
989a9dc917
|
@ -967,6 +967,7 @@ sub source_scan_project_file($$$)
|
|||
}
|
||||
if ($vc_compiler_tool->getName eq "PreprocessorDefinitions") {
|
||||
$configt=$vc_compiler_tool->getValue;
|
||||
$configt=~s/;+$//;
|
||||
$configt=~s/;\s*/ -D/g;
|
||||
$prj_target_defines.="-D".$configt." ";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue