summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefileExecutableTargetGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-02-20 19:56:29 (GMT)
committerBrad King <brad.king@kitware.com>2008-02-20 19:56:29 (GMT)
commit454da64c99200de6c1b11ef79f5ef67f4767cf16 (patch)
tree09c6306faa9c8373f16868ebf1ba683be477ca0f /Source/cmMakefileExecutableTargetGenerator.cxx
parent5e72a0d4e4e5ddd6817b294942af41dbb76b1e01 (diff)
downloadCMake-454da64c99200de6c1b11ef79f5ef67f4767cf16.zip
CMake-454da64c99200de6c1b11ef79f5ef67f4767cf16.tar.gz
CMake-454da64c99200de6c1b11ef79f5ef67f4767cf16.tar.bz2
BUG: Link scripts should be generated with copy-if-different and included as a dependency of the link rule.
Diffstat (limited to 'Source/cmMakefileExecutableTargetGenerator.cxx')
-rw-r--r--Source/cmMakefileExecutableTargetGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMakefileExecutableTargetGenerator.cxx b/Source/cmMakefileExecutableTargetGenerator.cxx
index c1c3b63..9e8d42d 100644
--- a/Source/cmMakefileExecutableTargetGenerator.cxx
+++ b/Source/cmMakefileExecutableTargetGenerator.cxx
@@ -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
{