From 0fe1359885288537833d4b8cd6db724b46ea07b7 Mon Sep 17 00:00:00 2001 From: pierzchalski Date: Mon, 4 Apr 2016 21:14:15 +1000 Subject: [PATCH] whoops --- src/build_helper/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/build_helper/lib.rs b/src/build_helper/lib.rs index 87e93afcf09b4..8e1da69cf02e7 100644 --- a/src/build_helper/lib.rs +++ b/src/build_helper/lib.rs @@ -48,7 +48,7 @@ pub fn cc2ar(cc: &Path, target: &str) -> PathBuf { for suffix in &["gcc", "cc", "clang"] { if let Some(idx) = file.rfind(suffix) { let mut file = file[..idx].to_owned(); - file.push_str(suffix); + file.push_str("ar"); return parent.join(&file); } }