Ninja: move -LIBPATH behind -link option

Don' pass linker option to the compile
This commit is contained in:
Peter Kümmel
2012-09-26 14:38:15 +02:00
committed by Brad King
parent dbd99d6fbb
commit 8d674e7844
6 changed files with 55 additions and 27 deletions
+6 -1
View File
@@ -335,11 +335,16 @@ public:
void GetTargetFlags(std::string& linkLibs,
std::string& flags,
std::string& linkFlags,
std::string& frameworkPath,
std::string& linkPath,
cmGeneratorTarget* target);
protected:
///! put all the libraries for a target on into the given stream
virtual void OutputLinkLibraries(std::ostream&, cmGeneratorTarget&,
virtual void OutputLinkLibraries(std::string& linkLibraries,
std::string& frameworkPath,
std::string& linkPath,
cmGeneratorTarget &,
bool relink);
// Expand rule variables in CMake of the type found in language rules