From 5730bd6b1bab7f8ce501c2083497986283081965 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Mon, 19 May 2003 13:41:10 -0400 Subject: [PATCH] fix for .def files and nmake and spaces in the path --- Source/cmLocalUnixMakefileGenerator.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmLocalUnixMakefileGenerator.cxx b/Source/cmLocalUnixMakefileGenerator.cxx index 05d3dea4e..5dab6a3cf 100644 --- a/Source/cmLocalUnixMakefileGenerator.cxx +++ b/Source/cmLocalUnixMakefileGenerator.cxx @@ -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 += " "; } }