BUG: Link scripts should be generated with copy-if-different and included as a dependency of the link rule.

This commit is contained in:
Brad King
2008-02-20 14:56:29 -05:00
parent 5e72a0d4e4
commit 454da64c99
4 changed files with 8 additions and 4 deletions

View File

@@ -405,7 +405,7 @@ void cmMakefileExecutableTargetGenerator::WriteExecutableRule(bool relink)
{
// Use a link script.
const char* name = (relink? "relink.txt" : "link.txt");
this->CreateLinkScript(name, real_link_commands, commands1);
this->CreateLinkScript(name, real_link_commands, commands1, depends);
}
else
{