mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
BUG: Link scripts should be generated with copy-if-different and included as a dependency of the link rule.
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user