winewrap: fix uuid support

Dimitrie O. Paun dimi at intelliware.ca
Wed Feb 11 09:53:07 CST 2004


I haven't tried with any real life application if this
patch is needed, but it seems to. Without it, we will
determine that uuid is a .so, which is not what we want.

ChangeLog
    Dimitrie O. Paun <dpaun at rogers.com>
    Treat uuid as a special case, as it conflicts with
    the native uuid.


Index: tools/winegcc/winewrap.c
===================================================================
RCS file: /var/cvs/wine/tools/winegcc/winewrap.c,v
retrieving revision 1.14
diff -u -r1.14 winewrap.c
--- tools/winegcc/winewrap.c	9 Jan 2004 20:08:22 -0000	1.14
+++ tools/winegcc/winewrap.c	31 Jan 2004 21:03:24 -0000
@@ -191,6 +191,13 @@
 {
     char *lib;
 
+    /* we need to treat uuid special, as it conflicts with the Linux one */
+    if (!strcmp(library, "uuid"))
+    {
+	strarray_add(arh_files, lib);
+        return;
+    }
+
     if (find_unix_lib(library, "so"))
     {
 	/* Unix shared object */

-- 
Dimi.




More information about the wine-patches mailing list