Ninja: add /DEF: flag to linker call
This commit is contained in:
parent
d40eebd89d
commit
9a0d5a828a
|
@ -341,6 +341,8 @@ void cmNinjaNormalTargetGenerator::WriteLinkStatement()
|
||||||
vars["LINK_FLAGS"],
|
vars["LINK_FLAGS"],
|
||||||
*this->GetTarget());
|
*this->GetTarget());
|
||||||
|
|
||||||
|
this->AddModuleDefinitionFlag(vars["LINK_FLAGS"]);
|
||||||
|
|
||||||
// Compute architecture specific link flags. Yes, these go into a different
|
// Compute architecture specific link flags. Yes, these go into a different
|
||||||
// variable for executables, probably due to a mistake made when duplicating
|
// variable for executables, probably due to a mistake made when duplicating
|
||||||
// code between the Makefile executable and library generators.
|
// code between the Makefile executable and library generators.
|
||||||
|
|
Loading…
Reference in New Issue