Ninja: add /DEF: flag to linker call

This commit is contained in:
Peter Kuemmel 2012-03-10 12:19:18 +01:00 committed by Brad King
parent d40eebd89d
commit 9a0d5a828a
1 changed files with 2 additions and 0 deletions

View File

@ -341,6 +341,8 @@ void cmNinjaNormalTargetGenerator::WriteLinkStatement()
vars["LINK_FLAGS"],
*this->GetTarget());
this->AddModuleDefinitionFlag(vars["LINK_FLAGS"]);
// Compute architecture specific link flags. Yes, these go into a different
// variable for executables, probably due to a mistake made when duplicating
// code between the Makefile executable and library generators.