Index: tools/gn/runtime_deps.cc |
diff --git a/tools/gn/runtime_deps.cc b/tools/gn/runtime_deps.cc |
index d82831199fdca5f31529ad73e7d29b955b65e5a3..078bebeee2c822dddda0cc4a7f199ca3e3946560 100644 |
--- a/tools/gn/runtime_deps.cc |
+++ b/tools/gn/runtime_deps.cc |
@@ -53,7 +53,7 @@ void AddIfNew(const std::string& str, |
// targets. This is weird only for shared libraries. |
const OutputFile& GetMainOutput(const Target* target) { |
if (target->output_type() == Target::SHARED_LIBRARY) |
- return target->link_output_file(); |
+ return target->runtime_link_output_file(); |
return target->dependency_output_file(); |
} |