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

Francois Gouget fgouget at free.fr
Wed Mar 5 05:09:32 CST 2008


---

These three msvcmaker patches should all be independent from each other.

This makes it possible to build winebuild, which in turn makes it 
possible to at least attempt building all the other dlls.

 tools/winapi/msvcmaker |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/tools/winapi/msvcmaker b/tools/winapi/msvcmaker
index 58549d8..422243b 100755
--- a/tools/winapi/msvcmaker
+++ b/tools/winapi/msvcmaker
@@ -754,6 +754,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 !~ /^\./) {
-- 
1.5.4.1



More information about the wine-patches mailing list