diff options
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmGlobalUnixMakefileGenerator3.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmGlobalUnixMakefileGenerator3.cxx b/Source/cmGlobalUnixMakefileGenerator3.cxx index c8fbc8f..d6f0db2 100644 --- a/Source/cmGlobalUnixMakefileGenerator3.cxx +++ b/Source/cmGlobalUnixMakefileGenerator3.cxx @@ -1166,6 +1166,8 @@ cmGlobalUnixMakefileGenerator3 depends.push_back(tgtName); if(result->GetType() == cmTarget::STATIC_LIBRARY) { + // Since the static library itself does not list dependencies we + // need to chain its dependencies here. const cmTarget::LinkLibraryVectorType& tlibs = result->GetLinkLibraries(); for(cmTarget::LinkLibraryVectorType::const_iterator lib = tlibs.begin(); |