msvcmaker: winebuild needs getopt*.c and mkstemps.c when compiled with MSVC.

This commit is contained in:
Francois Gouget 2008-03-05 12:09:32 +01:00 committed by Alexandre Julliard
parent 96fc6e317e
commit 9a17f38d6c
1 changed files with 10 additions and 0 deletions

View File

@ -760,6 +760,16 @@ sub _generate_dsp($$) {
print OUT "\r\n";
print OUT "# PROP Default_Filter \"cpp;c;cxx;rc;def;r;odl;idl;hpj;bat\"\r\n";
if ($project eq "winebuild") {
for my $ source_file ("getopt.c", "getopt1.c", "mkstemps.c")
{
print OUT "# Begin Source File\r\n";
print OUT "\r\n";
print OUT "SOURCE=..\\..\\libs\\port\\$source_file\r\n";
print OUT "# End Source File\r\n";
}
}
foreach my $source_file (@source_files) {
$source_file =~ s%/%\\%g;
if($source_file !~ /^\./) {