diff --git a/package/android/.cargo/config b/package/android/.cargo/config new file mode 100644 index 0000000..1ab0366 --- /dev/null +++ b/package/android/.cargo/config @@ -0,0 +1,4 @@ +[target.aarch64-linux-android] +ar = "$ANDROID_NDK_HOME/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android-ar" +rustflags = ["-C", "linker=aarch64-linux-android-clang", "-C", "link-args=-rdynamic", "-C", "default-linker-libraries"] +linker = "$ANDROID_NDK_HOME/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android-clang"