Commit d1248c8a authored by Alexandre Julliard's avatar Alexandre Julliard

makefiles: Don't try to link a library to itself.

parent e0e6eda6
......@@ -2050,10 +2050,16 @@ static struct strarray add_unix_libraries( const struct makefile *make, struct s
const char *name = all_libs.str[i] + 2;
for (j = 0; j < subdirs.count; j++)
{
if (make == submakes[j]) continue;
if ((lib = get_static_lib( submakes[j], name ))) break;
}
if (!lib && make->native_unix_lib)
for (j = 0; j < subdirs.count; j++)
{
if (make == submakes[j]) continue;
if ((lib = get_native_unix_lib( submakes[j], name ))) break;
}
}
if (lib)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment