winebuild: Also optimize out imports that are only used for forwards.
This commit is contained in:
parent
0861141725
commit
195356c098
|
@ -617,9 +617,10 @@ int resolve_imports( DLLSPEC *spec )
|
|||
}
|
||||
}
|
||||
}
|
||||
if (!removed && check_unused( imp, spec ))
|
||||
if (!removed)
|
||||
{
|
||||
/* the dll is not used, get rid of it */
|
||||
if (check_unused( imp, spec ))
|
||||
warning( "winebuild: %s imported but no symbols used\n", imp->spec->file_name );
|
||||
remove_import_dll( i );
|
||||
i--;
|
||||
|
|
Loading…
Reference in New Issue