mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-12-27 01:25:40 +08:00
release: Update debug iOS library build
This commit is contained in:
parent
f0b6818b4c
commit
1e6a3f1f0b
|
@ -130,10 +130,17 @@ func buildAndroid() {
|
||||||
}
|
}
|
||||||
|
|
||||||
func buildiOS() {
|
func buildiOS() {
|
||||||
|
var bindTarget string
|
||||||
|
if debugEnabled {
|
||||||
|
bindTarget = "ios"
|
||||||
|
} else {
|
||||||
|
bindTarget = "ios,iossimulator,tvos,tvossimulator,macos"
|
||||||
|
}
|
||||||
|
|
||||||
args := []string{
|
args := []string{
|
||||||
"bind",
|
"bind",
|
||||||
"-v",
|
"-v",
|
||||||
"-target", "ios,iossimulator,tvos,tvossimulator,macos",
|
"-target", bindTarget,
|
||||||
"-libname=box",
|
"-libname=box",
|
||||||
}
|
}
|
||||||
if !debugEnabled {
|
if !debugEnabled {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user