Explorar o código

Ninja: add /DEF: flag to linker call

Peter Kuemmel %!s(int64=13) %!d(string=hai) anos
pai
achega
9a0d5a828a
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      Source/cmNinjaNormalTargetGenerator.cxx

+ 2 - 0
Source/cmNinjaNormalTargetGenerator.cxx

@@ -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.