about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2021-05-09 10:01:38 +0200
committerbjorn3 <bjorn3@users.noreply.github.com>2021-05-09 10:01:38 +0200
commit961d8b69fa4efef8b17f14958c590aa7241494e1 (patch)
tree588b6ce5073ad65baeeb9f75ab966a3df128164e
parent8794d07081671b207f725518c2b632eee5c2e326 (diff)
parent91dc6967fe5ebb8ff773a168e549482c18bb92d8 (diff)
downloadrust-961d8b69fa4efef8b17f14958c590aa7241494e1.tar.gz
rust-961d8b69fa4efef8b17f14958c590aa7241494e1.zip
Sync from rust d6d028369be9eb02d219506c0dd662a2f863fc18
-rw-r--r--src/archive.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/archive.rs b/src/archive.rs
index 7583fc42407..fc0823302e0 100644
--- a/src/archive.rs
+++ b/src/archive.rs
@@ -85,8 +85,8 @@ impl<'a> ArchiveBuilder<'a> for ArArchiveBuilder<'a> {
         ));
     }
 
-    fn add_native_library(&mut self, name: rustc_span::symbol::Symbol) {
-        let location = find_library(name, &self.lib_search_paths, self.sess);
+    fn add_native_library(&mut self, name: rustc_span::symbol::Symbol, verbatim: bool) {
+        let location = find_library(name, verbatim, &self.lib_search_paths, self.sess);
         self.add_archive(location.clone(), |_| false).unwrap_or_else(|e| {
             panic!("failed to add native library {}: {}", location.to_string_lossy(), e);
         });