summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefileLibraryTargetGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2011-12-05 21:28:03 (GMT)
committerBrad King <brad.king@kitware.com>2011-12-05 21:37:43 (GMT)
commit61e862986ae56e111533c21759a4e01a41968d1e (patch)
treeb4a26ad9968fd18cfd36023c7c85c1d7c882e2a8 /Source/cmMakefileLibraryTargetGenerator.cxx
parenta603250a132d3a38428b6c3e2f425c1a0b2c3878 (diff)
downloadCMake-61e862986ae56e111533c21759a4e01a41968d1e.zip
CMake-61e862986ae56e111533c21759a4e01a41968d1e.tar.gz
CMake-61e862986ae56e111533c21759a4e01a41968d1e.tar.bz2
Factor makefile generator link rule lookup into helper function
This provides a place in the makefile generators to adjust the link rules for both libraries and executables.
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 31f7be5..337b286 100644
--- a/Source/cmMakefileLibraryTargetGenerator.cxx
+++ b/Source/cmMakefileLibraryTargetGenerator.cxx
@@ -772,7 +772,7 @@ void cmMakefileLibraryTargetGenerator::WriteLibraryRules
else
{
// Get the set of commands.
- std::string linkRule = this->Makefile->GetRequiredDefinition(linkRuleVar);
+ std::string linkRule = this->GetLinkRule(linkRuleVar);
cmSystemTools::ExpandListArgument(linkRule, real_link_commands);
// Expand placeholders.