mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-04-04 04:17:36 +03:00
Add workaround for golang/go#68760
This commit is contained in:
parent
3032317918
commit
f0b6818b4c
7 changed files with 79 additions and 16 deletions
|
@ -80,9 +80,17 @@ func buildAndroid() {
|
|||
log.Fatal("java version should be openjdk 17")
|
||||
}
|
||||
|
||||
var bindTarget string
|
||||
if debugEnabled {
|
||||
bindTarget = "android/arm64"
|
||||
} else {
|
||||
bindTarget = "android"
|
||||
}
|
||||
|
||||
args := []string{
|
||||
"bind",
|
||||
"-v",
|
||||
"-target", bindTarget,
|
||||
"-androidapi", "21",
|
||||
"-javapkg=io.nekohasekai",
|
||||
"-libname=box",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue