winegcc: don't attempt to compile .res files

Dimitrie O. Paun dpaun at rogers.com
Sun Mar 23 10:20:27 CST 2003


ChangeLog
  Don't attempt to compile .res files.

Index: tools/winegcc.c
===================================================================
RCS file: /var/cvs/wine/tools/winegcc.c,v
retrieving revision 1.12
diff -u -r1.12 winegcc.c
--- tools/winegcc.c	20 Mar 2003 21:09:06 -0000	1.12
+++ tools/winegcc.c	21 Mar 2003 06:36:04 -0000
@@ -140,6 +140,7 @@
 
     if (strendswith(argv[n], ".o")) return argv[n];
     if (strendswith(argv[n], ".a")) return argv[n];
+    if (strendswith(argv[n], ".res")) return argv[n];
     
     tmpobj = get_temp_file(".o");
     compargv = malloc(sizeof(char*) * (n + 10));


-- 
Dimi.




More information about the wine-patches mailing list