Merge topic 'ninja-encode-LINK_FLAGS'

12ab135 Ninja: encode LINK_FLAGS to handle bash variables
This commit is contained in:
Brad King 2012-11-27 13:34:21 -05:00 committed by CMake Topic Stage
commit 9e395feb46
1 changed files with 3 additions and 0 deletions

View File

@ -439,6 +439,9 @@ void cmNinjaNormalTargetGenerator::WriteLinkStatement()
this->GetGeneratorTarget()); this->GetGeneratorTarget());
this->AddModuleDefinitionFlag(vars["LINK_FLAGS"]); this->AddModuleDefinitionFlag(vars["LINK_FLAGS"]);
vars["LINK_FLAGS"] = cmGlobalNinjaGenerator
::EncodeLiteral(vars["LINK_FLAGS"]);
vars["LINK_PATH"] = frameworkPath + linkPath; vars["LINK_PATH"] = frameworkPath + linkPath;
// Compute architecture specific link flags. Yes, these go into a different // Compute architecture specific link flags. Yes, these go into a different