Skip to content

Commit 5ea3e35

Browse files
committed
Speed up rebuild
1 parent 67da4c8 commit 5ea3e35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ cargo {
5353
"local-dns-relay"))
5454
}
5555
exec = { spec, toolchain ->
56-
spec.environment("RUSTFLAGS", "-C link-arg=-o -C link-arg=target/${toolchain.target}/$profile/lib$libname.so")
56+
spec.environment("RUST_ANDROID_GRADLE_CC_LINK_ARG", "-o,target/${toolchain.target}/$profile/lib$libname.so")
5757
}
5858
}
5959

0 commit comments

Comments
 (0)