Add with_grpc to build tags. Support gRPC transport in V2Ray protocols (#343)

This commit is contained in:
parhelia512 2025-04-05 05:31:31 +08:00 committed by GitHub
parent 0da5a14f46
commit d7efaaa22e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -26,5 +26,5 @@ popd
#### Go: core ####
pushd core/server
VERSION_SINGBOX=$(go list -m -f '{{.Version}}' github.com/sagernet/sing-box)
go build -v -o $DEST -trimpath -ldflags "-w -s -X 'github.com/sagernet/sing-box/constant.Version=${VERSION_SINGBOX}'" -tags "with_clash_api,with_gvisor,with_quic,with_wireguard,with_utls,with_ech,with_dhcp"
go build -v -o $DEST -trimpath -ldflags "-w -s -X 'github.com/sagernet/sing-box/constant.Version=${VERSION_SINGBOX}'" -tags "with_clash_api,with_gvisor,with_quic,with_wireguard,with_utls,with_ech,with_dhcp,with_grpc"
popd