msvcmaker: Fix the code that sets __WINETEST_OUTPUT_DIR so it does not pollute $output_dir.

This commit is contained in:
Francois Gouget 2006-12-06 11:57:29 +01:00 committed by Alexandre Julliard
parent 28c2ebb937
commit bcf4a22a5e
1 changed files with 2 additions and 2 deletions

View File

@ -627,8 +627,8 @@ sub _generate_dsp($$) {
push @defines2, qw(__WINE_USE_NATIVE_HEADERS);
}
my $output_dir2 = $output_dir;
$output_dir =~ s/\\/\\\\/g;
push @defines2, "__WINETEST_OUTPUT_DIR=\\\"$output_dir\\\"";
$output_dir2 =~ s/\\/\\\\/g;
push @defines2, "__WINETEST_OUTPUT_DIR=\\\"$output_dir2\\\"";
push @defines2, qw(__i386__ _X86_);
if($project eq "msvcrt_test") {