|
|
@@ -504,6 +504,16 @@ void cmNinjaNormalTargetGenerator::WriteLinkStatement()
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ // Add OS X version flags, if any.
|
|
|
+ if(this->GeneratorTarget->GetType() == cmState::SHARED_LIBRARY ||
|
|
|
+ this->GeneratorTarget->GetType() == cmState::MODULE_LIBRARY)
|
|
|
+ {
|
|
|
+ this->AppendOSXVerFlag(vars["LINK_FLAGS"], this->TargetLinkLanguage,
|
|
|
+ "COMPATIBILITY", true);
|
|
|
+ this->AppendOSXVerFlag(vars["LINK_FLAGS"], this->TargetLinkLanguage,
|
|
|
+ "CURRENT", false);
|
|
|
+ }
|
|
|
+
|
|
|
this->addPoolNinjaVariable("JOB_POOL_LINK", >, vars);
|
|
|
|
|
|
this->AddModuleDefinitionFlag(vars["LINK_FLAGS"]);
|