winegcc: fix wrapper scripts

Dimitrie O. Paun dimi at intelliware.ca
Thu Apr 8 15:19:46 CDT 2004


This got broken some time ago, nobody complained...

ChangeLog
    Dimitrie O. Paun <dpaun at rogers.com>
    Specify the right name for the Winelib shared object.


Index: tools/winegcc/winegcc.c
===================================================================
RCS file: /var/cvs/wine/tools/winegcc/winegcc.c,v
retrieving revision 1.24
diff -u -r1.24 winegcc.c
--- tools/winegcc/winegcc.c	31 Mar 2004 00:56:14 -0000	1.24
+++ tools/winegcc/winegcc.c	8 Apr 2004 20:10:14 -0000
@@ -390,7 +390,7 @@
     else if (!strendswith(output_file, ".exe"))
 	output_file = strmake("%s.exe", output_file);
 
-    /* get the filename by the path, if present */
+    /* get the filename from the path */
     if ((output_name = strrchr(output_file, '/'))) output_name++;
     else output_name = output_file;
 
@@ -583,7 +583,7 @@
     if (generate_app_loader)
     {
         if (strendswith(output_file, ".exe")) output_file[strlen(output_file) - 4] = 0;
-        create_file(output_file, 0755, app_loader_template, strmake("%s.so", output_name));
+        create_file(output_file, 0755, app_loader_template, strmake("%s.exe.so", output_name));
     }
 }
 

-- 
Dimi.




More information about the wine-patches mailing list