aboutsummaryrefslogtreecommitdiff
path: root/gold/readsyms.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gold/readsyms.cc')
-rw-r--r--gold/readsyms.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/readsyms.cc b/gold/readsyms.cc
index bbeb425..87e4fa4 100644
--- a/gold/readsyms.cc
+++ b/gold/readsyms.cc
@@ -52,7 +52,7 @@ Task::Is_runnable_type
Read_symbols::is_runnable(Workqueue*)
{
if (this->input_argument_->is_file()
- && this->input_argument_->file().is_lib()
+ && this->input_argument_->file().may_need_search()
&& this->dirpath_.token().is_blocked())
return IS_BLOCKED;