Skip to content

Commit

Permalink
Derp
Browse files Browse the repository at this point in the history
  • Loading branch information
bbqsrc committed Apr 11, 2024
1 parent a68563c commit afb554e
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
## Changelog

### v3.5.2 - 2024-04-11

- Fix: make `CARGO_TARGET_AARCH64_LINUX_ANDROID_LINKER` correct

### v3.5.1 - 2024-04-11

- Fix: make the exports from `ndk-env` use underscores
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cargo-ndk"
version = "3.5.1"
version = "3.5.2"
authors = ["Brendan Molloy <brendan@bbqsrc.net>"]
repository = "https://github.com/bbqsrc/cargo-ndk"
documentation = "https://docs.rs/cargo-ndk"
Expand Down
5 changes: 4 additions & 1 deletion src/cargo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,10 @@ pub(crate) fn build_env(
bindgen: bool,
) -> BTreeMap<String, OsString> {
let self_path = std::fs::canonicalize(env::args().next().unwrap())
.expect("Failed to canonicalize absolute path to cargo-ndk");
.expect("Failed to canonicalize absolute path to cargo-ndk")
.parent()
.unwrap()
.join("cargo-ndk");

// Environment variables for the `cc` crate
let (cc_key, _cc_value) = cc_env("CC", triple);
Expand Down

0 comments on commit afb554e

Please sign in to comment.