From 9a0d5a828a8f47b4388dbeab8bde9921ee3b7146 Mon Sep 17 00:00:00 2001 From: Peter Kuemmel Date: Sat, 10 Mar 2012 12:19:18 +0100 Subject: Ninja: add /DEF: flag to linker call --- Source/cmNinjaNormalTargetGenerator.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/cmNinjaNormalTargetGenerator.cxx b/Source/cmNinjaNormalTargetGenerator.cxx index 9e05b4c..af7bcd6 100644 --- a/Source/cmNinjaNormalTargetGenerator.cxx +++ b/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. -- cgit v0.12