Also use the module name in idl object files

svn path=/trunk/; revision=30188
This commit is contained in:
Hervé Poussineau 2007-11-05 17:27:58 +00:00
parent ff1da0b87a
commit bcd746b012

View file

@ -513,9 +513,9 @@ MingwModuleHandler::GetObjectFilename (
else if ( extension == ".idl" || extension == ".IDL" ) else if ( extension == ".idl" || extension == ".IDL" )
{ {
if ( module.type == RpcServer ) if ( module.type == RpcServer )
newExtension = "_s.o"; newExtension = "_s_" + module.name + ".o";
else if ( module.type == RpcClient ) else if ( module.type == RpcClient )
newExtension = "_c.o"; newExtension = "_c_" + module.name + ".o";
else else
newExtension = ".h"; newExtension = ".h";
} }