From 144bc1e55c48698de3ceaea7493b6d78939e77f2 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Wed, 10 Nov 2004 15:39:10 -0500 Subject: [PATCH] FIX: make sure the object file name is correctly mangled for depend information --- Source/cmLocalUnixMakefileGenerator.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/cmLocalUnixMakefileGenerator.cxx b/Source/cmLocalUnixMakefileGenerator.cxx index 72a35b7f7..5b34a487f 100644 --- a/Source/cmLocalUnixMakefileGenerator.cxx +++ b/Source/cmLocalUnixMakefileGenerator.cxx @@ -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;