diff options
author | Ian Lance Taylor <iant@google.com> | 2007-10-22 18:04:43 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2007-10-22 18:04:43 +0000 |
commit | 61611222588d1cd9c66c035a6b6dd61857d34653 (patch) | |
tree | 5197870414b18d9f14f77deccbec785caba07d6c /gold/fileread.cc | |
parent | ee6d2efee9fc57ed0be635dc0072bb8ba3891190 (diff) | |
download | gdb-61611222588d1cd9c66c035a6b6dd61857d34653.zip gdb-61611222588d1cd9c66c035a6b6dd61857d34653.tar.gz gdb-61611222588d1cd9c66c035a6b6dd61857d34653.tar.bz2 |
Implement -Bstatic/-Bdynamic.
Diffstat (limited to 'gold/fileread.cc')
-rw-r--r-- | gold/fileread.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gold/fileread.cc b/gold/fileread.cc index c4145de..1e3b463 100644 --- a/gold/fileread.cc +++ b/gold/fileread.cc @@ -428,7 +428,8 @@ Input_file::open(const General_options& options, const Dirsearch& dirpath) std::string n1("lib"); n1 += this->input_argument_->name(); std::string n2; - if (options.is_static()) + if (options.is_static() + || this->input_argument_->options().do_static_search()) n1 += ".a"; else { |