Skip to content

Commit

Permalink
Fix ar path
Browse files Browse the repository at this point in the history
  • Loading branch information
999eagle committed May 4, 2019
1 parent 3436ee6 commit 6d4c335
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ impl WindowsResource {
}

let libname = PathBuf::from(output_dir).join("libresource.a");
let ar_path = self.windres_path.as_ref().map_or("ar.exe", String::as_str);
let ar_path = self.ar_path.as_ref().map_or("ar.exe", String::as_str);
let status = process::Command::new(ar_path)
.current_dir(&self.toolkit_path)
.arg("rsc")
Expand Down

0 comments on commit 6d4c335

Please sign in to comment.