[winebuild02] Remove . from default library search path

Richard Cohen richard.cohen at virgin.net
Thu Sep 18 06:39:37 CDT 2003


... to be consistent with winewrap - the build process doesn't need it.

Changelog
	Remove . from default library search path
-------------- next part --------------
diff -u -r tools/winebuild.01/import.c tools/winebuild/import.c
--- tools/winebuild.01/import.c	2003-08-15 07:50:17.000000000 +0100
+++ tools/winebuild/import.c	2003-09-18 12:32:48.000000000 +0100
@@ -238,9 +238,9 @@
     {
         if ((fullname = try_library_path( lib_path[i], name ))) return fullname;
     }
-    if (!(fullname = try_library_path( ".", name )))
-        fatal_error( "could not open .def file for %s\n", name );
-    return fullname;
+    fatal_error( "could not open .def file for %s\n", name );
+    /* Won't get here */
+    return NULL;
 }
 
 /* skip whitespace until the next token */


More information about the wine-patches mailing list