fix for .def files and nmake and spaces in the path

This commit is contained in:
Bill Hoffman 2003-05-19 13:41:10 -04:00
parent e031028e10
commit 5730bd6b1b

View File

@ -907,7 +907,7 @@ void cmLocalUnixMakefileGenerator::OutputSharedLibraryRule(std::ostream& fout,
if((*i)->GetSourceExtension() == "def")
{
linkFlags += this->GetSafeDefinition("CMAKE_LINK_DEF_FILE_FLAG");
linkFlags += (*i)->GetFullPath();
linkFlags += cmSystemTools::ConvertToOutputPath((*i)->GetFullPath().c_str());
linkFlags += " ";
}
}