Commit 195356c0 authored by Alexandre Julliard's avatar Alexandre Julliard

winebuild: Also optimize out imports that are only used for forwards.

parent 08611417
......@@ -617,10 +617,11 @@ int resolve_imports( DLLSPEC *spec )
}
}
}
if (!removed && check_unused( imp, spec ))
if (!removed)
{
/* the dll is not used, get rid of it */
warning( "winebuild: %s imported but no symbols used\n", imp->spec->file_name );
if (check_unused( imp, spec ))
warning( "winebuild: %s imported but no symbols used\n", imp->spec->file_name );
remove_import_dll( i );
i--;
}
......
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