Ninja: encode LINK_FLAGS to handle bash variables
Bug 13560
This commit is contained in:
parent
8faf4e9380
commit
12ab1354fc
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue