Commit 40915ff4 authored by Max Lv's avatar Max Lv

Rename sslocal to libsslocal.so

parent 302231ae
......@@ -53,14 +53,17 @@ androidExtensions {
cargo {
module = 'shadowsocks-rust'
libname = 'shadowsocks'
libname = 'sslocal'
targets = ['arm', 'arm64', 'x86', 'x86_64']
profile = 'release'
targetIncludes = ['sslocal']
targetIncludes = ['libsslocal.so']
extraCargoBuildArguments = ['--bin', 'sslocal']
features {
noDefaultBut "sodium"
}
exec { spec, toolchain ->
spec.environment("RUSTFLAGS", "-C link-arg=-o -C link-arg=target/${toolchain.target}/release/libsslocal.so")
}
}
def coroutinesVersion = '1.3.3'
......
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