Francois Gouget : msvcmaker: winebuild needs getopt*.c and mkstemps. c when compiled with MSVC.
Alexandre Julliard
julliard at winehq.org
Wed Mar 5 06:24:24 CST 2008
Module: wine
Branch: master
Commit: 9a17f38d6cfa5097afc1b0effd10a03b03772578
URL: http://source.winehq.org/git/wine.git/?a=commit;h=9a17f38d6cfa5097afc1b0effd10a03b03772578
Author: Francois Gouget <fgouget at free.fr>
Date: Wed Mar 5 12:09:32 2008 +0100
msvcmaker: winebuild needs getopt*.c and mkstemps.c when compiled with MSVC.
---
tools/winapi/msvcmaker | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/tools/winapi/msvcmaker b/tools/winapi/msvcmaker
index 50644ac..1502cb7 100755
--- a/tools/winapi/msvcmaker
+++ b/tools/winapi/msvcmaker
@@ -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 !~ /^\./) {
More information about the wine-cvs
mailing list