FIX: make sure the object file name is correctly mangled for depend information

This commit is contained in:
Bill Hoffman 2004-11-10 15:39:10 -05:00
parent 6257ca30a5
commit 144bc1e55c
1 changed files with 1 additions and 0 deletions

View File

@ -1892,6 +1892,7 @@ bool cmLocalUnixMakefileGenerator::OutputObjectDepends(std::ostream& fout)
m_GlobalGenerator->GetLanguageOutputExtensionFromExtension(
(*source)->GetSourceExtension().c_str());
s += outExt;
s = this->CreateSafeUniqueObjectFileName(s.c_str());
fout << this->ConvertToRelativeOutputPath(s.c_str()) << " : "
<< this->ConvertToRelativeOutputPath(dep->c_str()) << "\n";
ret = true;