Commit 5ea3e355 authored by Mygod's avatar Mygod

Speed up rebuild

parent 67da4c87
......@@ -53,7 +53,7 @@ cargo {
"local-dns-relay"))
}
exec = { spec, toolchain ->
spec.environment("RUSTFLAGS", "-C link-arg=-o -C link-arg=target/${toolchain.target}/$profile/lib$libname.so")
spec.environment("RUST_ANDROID_GRADLE_CC_LINK_ARG", "-o,target/${toolchain.target}/$profile/lib$libname.so")
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment