Skip to content

Commit

Permalink
try directly using a build script
Browse files Browse the repository at this point in the history
  • Loading branch information
oli-obk committed Nov 20, 2023
1 parent bbfe7bf commit f4aa762
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .cargo/config.toml

This file was deleted.

4 changes: 4 additions & 0 deletions build.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
fn main() {
println!("cargo:rerun-if-changed=build.rs");
if std::env::var("TARGET").unwrap() == "aarch64-linux-android" {
println!("cargo:rustc-link-lib=openxr_loader");
println!("cargo:rustc-link-search=runtime_libs/arm64-v8a");
}
}

0 comments on commit f4aa762

Please sign in to comment.