[Resend winebuild02] Remove . from default library search path

Richard Cohen richard at daijobu.co.uk
Wed Mar 17 07:15:41 CST 2004


... to be consistent with winegcc (and most linkers everywhere).
The build process doesn't need it either.

Changelog
     Remove . from default library search path


-------------- next part --------------
diff -u -r tools/winebuild/import.c tools/winebuild/import.c
--- tools/winebuild/import.c	2004-02-20 11:06:15.000000000 +0000
+++ tools/winebuild/import.c	2004-02-20 11:07:42.000000000 +0000
@@ -229,9 +229,8 @@
     {
         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 );
+    return NULL;
 }
 
 /* read in the list of exported symbols of an import library */


More information about the wine-patches mailing list