summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefileLibraryTargetGenerator.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/cmMakefileLibraryTargetGenerator.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/cmMakefileLibraryTargetGenerator.cxx')
-rw-r--r--Source/cmMakefileLibraryTargetGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMakefileLibraryTargetGenerator.cxx b/Source/cmMakefileLibraryTargetGenerator.cxx
index bb68d36..dd4c9eb 100644
--- a/Source/cmMakefileLibraryTargetGenerator.cxx
+++ b/Source/cmMakefileLibraryTargetGenerator.cxx
@@ -788,7 +788,7 @@ void cmMakefileLibraryTargetGenerator::WriteLibraryRules
{
// 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
{