Commit 7571fa87 authored by Alexandre Julliard's avatar Alexandre Julliard

makefiles: Don't implicitly import the module itself when -nodefaultlibs is used.

parent 33be7790
......@@ -2212,7 +2212,11 @@ static struct strarray add_import_libs( const struct makefile *make, struct stra
const char *lib = NULL;
/* skip module's own importlib, its object files will be linked directly */
if (make->importlib && !is_unix && !strcmp( make->importlib, imports.str[i] )) continue;
if (make->importlib && !strcmp( make->importlib, imports.str[i] ))
{
if (!is_unix) continue;
if (strarray_exists( &make->extradllflags, "-nodefaultlibs" )) continue;
}
for (j = 0; j < top_makefile->subdirs.count; j++)
{
......
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