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:
André Hentschel 2017-07-12 19:49:06 +02:00 committed by Alexandre Julliard
parent 9d40addbeb
commit 989a9dc917
1 changed files with 1 additions and 0 deletions

View File

@ -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." ";
}