Change android build tags to include debug info

This commit is contained in:
problematicconsumer
2023-10-17 19:49:21 +03:30
parent d410fe1c4b
commit 4beb9ce154

View File

@@ -17,7 +17,7 @@ headers:
go build -buildmode=c-archive -o $(BINDIR)/$(NAME).h ./custom go build -buildmode=c-archive -o $(BINDIR)/$(NAME).h ./custom
android: lib_install android: lib_install
gomobile bind -v -androidapi=21 -javapkg=io.nekohasekai -libname=box -tags=$(TAGS) -trimpath -ldflags="-w -s" -target=android -o $(BINDIR)/$(NAME).aar github.com/sagernet/sing-box/experimental/libbox ./mobile gomobile bind -v -androidapi=21 -javapkg=io.nekohasekai -libname=box -tags=$(TAGS) -trimpath -target=android -o $(BINDIR)/$(NAME).aar github.com/sagernet/sing-box/experimental/libbox ./mobile
ios-full: lib_install ios-full: lib_install
gomobile bind -v -target ios,iossimulator,tvos,tvossimulator,macos -libname=box -tags=$(TAGS),with_dhcp,with_low_memory,with_conntrack -trimpath -ldflags="-w -s" -o $(BINDIR)/$(NAME).xcframework github.com/sagernet/sing-box/experimental/libbox ./mobile gomobile bind -v -target ios,iossimulator,tvos,tvossimulator,macos -libname=box -tags=$(TAGS),with_dhcp,with_low_memory,with_conntrack -trimpath -ldflags="-w -s" -o $(BINDIR)/$(NAME).xcframework github.com/sagernet/sing-box/experimental/libbox ./mobile