diff options
author | Peter Kümmel <syntheticpp@gmx.net> | 2012-11-20 20:59:40 (GMT) |
---|---|---|
committer | Peter Kümmel <syntheticpp@gmx.net> | 2012-11-20 21:00:09 (GMT) |
commit | 12ab1354fcd9fb1ddc3611615ed3d6053afcd5f4 (patch) | |
tree | 40b5405e3652ccbb714e6e119de5b1b26383af7e | |
parent | 8faf4e93801a025d4cb17d2ef12437e5554798b1 (diff) | |
download | CMake-12ab1354fcd9fb1ddc3611615ed3d6053afcd5f4.zip CMake-12ab1354fcd9fb1ddc3611615ed3d6053afcd5f4.tar.gz CMake-12ab1354fcd9fb1ddc3611615ed3d6053afcd5f4.tar.bz2 |
Ninja: encode LINK_FLAGS to handle bash variables
Bug 13560
-rw-r--r-- | Source/cmNinjaNormalTargetGenerator.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmNinjaNormalTargetGenerator.cxx b/Source/cmNinjaNormalTargetGenerator.cxx index 853bc12..65967a5 100644 --- a/Source/cmNinjaNormalTargetGenerator.cxx +++ b/Source/cmNinjaNormalTargetGenerator.cxx @@ -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 |