winegcc: more compat stuff (take 2)

Dimitrie O. Paun dpaun at rogers.com
Sat Jan 4 14:55:26 CST 2003


This one obsoletes the previous one I sent on
the same subject.

ChangeLog
   mingw links in comdlg32, shell32, and advapi32 by default.

--- tools/winegcc.c.A4	2003-01-04 10:30:23.000000000 -0500
+++ tools/winegcc.c	2003-01-04 15:52:27.000000000 -0500
@@ -137,6 +137,9 @@
 		gcc_argv[i++] = argv[j];
 	}
 	if (use_stdlib && use_msvcrt) gcc_argv[i++] = "-lmsvcrt";
+	if (gui_app) gcc_argv[i++] = "-lcomdlg32";
+	if (gui_app) gcc_argv[i++] = "-lshell32";
+	gcc_argv[i++] = "-ladvapi32";
     }
     else
     {


-- 
Dimi.




More information about the wine-patches mailing list