Browse Source

Use correct ar for emscripten

vs2017
Brian Anderson 8 years ago
parent
commit
bcedecdbad
  1. 2
      src/lib.rs

2
src/lib.rs

@ -778,6 +778,8 @@ impl Config {
}).unwrap_or_else(|| {
if self.get_target().contains("android") {
PathBuf::from(format!("{}-ar", self.get_target()))
} else if self.get_target().contains("emscripten") {
PathBuf::from("emar")
} else {
PathBuf::from("ar")
}

Loading…
Cancel
Save