Skip to content

Commit

Permalink
revert sysroot change (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
maxded authored Oct 23, 2024
1 parent 61dacd0 commit 94e80bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xbuild/src/cargo/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ impl CargoBuild {
}

pub fn set_sysroot(&mut self, path: &Path) {
let arg = format!("--sysroot={}", path.display());
let arg = format!("--sysroot=\"{}\"", path.display());
self.add_cflag(&arg);
self.add_link_arg(&arg);
}
Expand Down

0 comments on commit 94e80bd

Please sign in to comment.