Skip to content

Commit

Permalink
Rename sslocal to libsslocal.so
Browse files Browse the repository at this point in the history
  • Loading branch information
madeye committed Feb 23, 2020
1 parent f147a5e commit a51ad37
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit a51ad37

Please sign in to comment.