From 8a1f581bd3236dbd13023a75e73c2644b86abd07 Mon Sep 17 00:00:00 2001 From: Ken Martin Date: Fri, 21 Oct 2005 12:04:26 -0400 Subject: BUG: symlink issue --- Source/cmLocalUnixMakefileGenerator3.cxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx index abea00a..ef21a00 100644 --- a/Source/cmLocalUnixMakefileGenerator3.cxx +++ b/Source/cmLocalUnixMakefileGenerator3.cxx @@ -1734,7 +1734,11 @@ cmLocalUnixMakefileGenerator3 symlink += targetOutPathSO; symlink += " "; symlink += targetOutPath; - commands.push_back(symlink); + commands1.clear(); + commands1.push_back(symlink); + this->CreateCDCommand(commands1,m_Makefile->GetStartOutputDirectory(), + m_Makefile->GetHomeOutputDirectory()); + commands.insert(commands.end(), commands1.begin(), commands1.end()); } // Add the post-build rules. -- cgit v0.12