Skip to content

Commit

Permalink
correct include path
Browse files Browse the repository at this point in the history
  • Loading branch information
lattice0 authored and bbqsrc committed May 24, 2022
1 parent 62a17cf commit 315388f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cargo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ pub(crate) fn run(
.env(cargo_env_target_cfg(triple, "linker"), &target_linker)
.args(cargo_args);

let extra_include = format!("{}/{}", &target_sysroot.display(), triple);
let extra_include = format!("{}/usr/include/{}", &target_sysroot.display(), triple);
if bindgen {
let bindgen_args = format!(
"--sysroot={} -I{}",
Expand Down

0 comments on commit 315388f

Please sign in to comment.