瀏覽代碼

Ninja: add /DEF: flag to linker call

Peter Kuemmel 13 年之前
父節點
當前提交
9a0d5a828a
共有 1 個文件被更改,包括 2 次插入0 次删除
  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.