mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-02 20:00:38 -06:00
Ninja: encode LINK_FLAGS to handle bash variables
Bug 13560
This commit is contained in:
@@ -439,6 +439,9 @@ void cmNinjaNormalTargetGenerator::WriteLinkStatement()
|
||||
this->GetGeneratorTarget());
|
||||
|
||||
this->AddModuleDefinitionFlag(vars["LINK_FLAGS"]);
|
||||
vars["LINK_FLAGS"] = cmGlobalNinjaGenerator
|
||||
::EncodeLiteral(vars["LINK_FLAGS"]);
|
||||
|
||||
vars["LINK_PATH"] = frameworkPath + linkPath;
|
||||
|
||||
// Compute architecture specific link flags. Yes, these go into a different
|
||||
|
||||
Reference in New Issue
Block a user